You could use the export function for Visualize.js and simply only have it run when some action (or paramater) is being passed into your embedded report. $(function() { $("#filterTen").on('click', function() { limitResults(10); });$("#filterReset").on('click', function() { resetFilters(); });$("#ExportButton").on('click', function() { slaveReport.export({ outputFormat: $("[data-paramId=exportFormat]").val() }, function(link) { var url = link.href ? link.href : link; window.location.href = url; }, function(error) { console.log(error); }); });});[/code]