Forum Discussion

dunnes's avatar
dunnes
New Member
7 months ago
Solved

Requests remain pending when report changes.

We're embeddeding Power Bi reports in an angular 19 application. The report is embedded in a reusable component that displays different reports depending on the url. If a report is loading and then ...
  • v-menakakota's avatar
    7 months ago

    Hi dunnes 
    Thanks for reaching out to the Microsoft fabric community forum. This is expected behavior when embedding Power BI reports. If a report is still loading and the user switches to another report, the requests for the first report continue in the background. These requests are handled by Power BI and cannot be cancelled once they start.

     

    From the application side, the recommended approach is to clean up the embedded report before loading a new one. When changing reports, make sure to destroy the existing report instance or remove the iframe, and then embed the new report. This helps avoid unnecessary pending requests.

     

    Currently, Power BI does not provide a way to cancel in-flight service requests, so managing the report lifecycle in the host application is the supported approach.

    For reference, you can check the Power BI embedding documentation here:

    Power BI embedded analytics overview - Power BI | Microsoft Learn

     

    If I misunderstand your needs or you still have problems on it, please feel free to let us know. 

    Best Regards, 
    Community Support Team