Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
SeSPowerBi
Frequent Visitor

Paginated Reports Embedded Issue with getCorrelationId()

Hello,

I have an app that embedds a Power BI report with Angular. I have run into a problem with retrieving the CorrelationId of paginated reports.

The same code works and retrieves a regular report's embedded correlation ID, however when it comes to paginated it never recieves a value.

Is this a known issue with the getCorrelationId() function that returns the embedded correlation ID?

 

getCorrelationId(): Promise<string>

 

 

 

let correlationId = await report.getCorrelationId();

 

 

It is strange, if I put a breakpoint at the line to check if the correlationId is recieved, the id is then grabbed, but then the paginated report never renders/loads. It is stuck with the Power BI message "loading" on the screen.

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @SeSPowerBi ,

Please check whether it hit the following limitation in the this official documentation:

  • The getCorrelationId function only works after the report is loaded.

report.getCorrelationId()

Best Regards

Hello @Anonymous ,

thank you for your response. 

It does not look like the limiation was hit. 

I think it has to do with the loading of the paginated report and the time it takes???

Anonymous
Not applicable

Hi @SeSPowerBi ,

Sorry for delay. Please use the following script to retrieve the error log and check whether we can find the cause and get the solution...

dashboard.on("error", function (error) {
    let correlationId = await dashboard.getcorrelationId();
    console.log("Error occurred in embed session: " + correlationId + " Error: " + error.detail.message);
});

Best Regards

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.