Forum Discussion
PBI Embedded
- Anonymous1 year ago
Hi poojithap
Thank you for reaching out to the Microsoft Fabric Forum Community.
Slow loading times for embedded Power BI reports are typically due to complex report designs, frequent token generation, and frontend rendering delays. To enhance performance, cache both the Azure access token and the embed token on the backend instead of generating them each time. Simplify report visuals, avoid heavy DAX or unused filters, and delay frontend rendering until the embed token and URL are ready.
Best regards,
Prasanna Kumar - 1 year ago
Hi.
I had some of the same problems. Look at this post that i just updated with the solution to my problem. It might give a few tips.
https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-performance-problem/m-p/4702339#M61325
Regards,Kjetil Blomsøy
Hi everyone,
I am trying to create a custom web application that embeds Power BI reports, but I am running into issues. Most tutorials I find are outdated and do not work with the current APIs.
What I am trying to do: Embed a Power BI report in a custom HTML JavaScript application, allow users to interact with the embedded report, and integrate with Azure OpenAI for analysis of the dashboard data.
Current setup: Using Power BI Service with a published report, have the embed URL from Fabric, trying to use powerbi-client JavaScript library.
Issues I am facing: Authentication token generation not working as expected, embed code examples seem outdated, need current working examples for 2024 2025.
Questions: What is the most current way to implement Power BI Embedded in 2024? Are there recent working code samples for JavaScript HTML embedding? Any recommended tutorials that actually work with current APIs?
Any help or pointers to current resources would be greatly appreciated.
Thanks