diff --git a/src/System Application/App/ControlAddIns/Resources/PowerBIManagement/js/PowerBIManagement.js b/src/System Application/App/ControlAddIns/Resources/PowerBIManagement/js/PowerBIManagement.js index 2617c632f0..e6ed209928 100644 --- a/src/System Application/App/ControlAddIns/Resources/PowerBIManagement/js/PowerBIManagement.js +++ b/src/System Application/App/ControlAddIns/Resources/PowerBIManagement/js/PowerBIManagement.js @@ -175,8 +175,8 @@ function EmbedPowerBIReport(reportLink, reportId, pageName) { RegisterCommonEmbedEvents(); - embed.off("loaded"); - embed.on('loaded', function (event) { + embed.off("rendered"); + embed.on('rendered', function (event) { var reportPages = null; var reportFilters = null; var pageFilters = null; @@ -207,6 +207,7 @@ function EmbedPowerBIReport(reportLink, reportId, pageName) { Promise.all(promises).then( function (values) { + embed.off("rendered"); RaiseReportLoaded(reportFilters, reportPages, pageFilters, embedCorrelationId); }, function (error) { diff --git a/src/System Application/App/Resources/PowerBIManagement/js/PowerBIManagement.js b/src/System Application/App/Resources/PowerBIManagement/js/PowerBIManagement.js index 2617c632f0..e6ed209928 100644 --- a/src/System Application/App/Resources/PowerBIManagement/js/PowerBIManagement.js +++ b/src/System Application/App/Resources/PowerBIManagement/js/PowerBIManagement.js @@ -175,8 +175,8 @@ function EmbedPowerBIReport(reportLink, reportId, pageName) { RegisterCommonEmbedEvents(); - embed.off("loaded"); - embed.on('loaded', function (event) { + embed.off("rendered"); + embed.on('rendered', function (event) { var reportPages = null; var reportFilters = null; var pageFilters = null; @@ -207,6 +207,7 @@ function EmbedPowerBIReport(reportLink, reportId, pageName) { Promise.all(promises).then( function (values) { + embed.off("rendered"); RaiseReportLoaded(reportFilters, reportPages, pageFilters, embedCorrelationId); }, function (error) {