Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
We are developing an application using the Mozilla FrameWork that visualizes a Power BI report using the principles described in the document "Tutorial: Embed Power BI content using a sample embed for your customers' application (https://learn.microsoft.com/en -us/power-bi/developer/embedded/embed-sample-for-customers) and Power Bi Client NodeJS API. It works correctly.
On the other hand, when we change the active page with the report.setPage API function, the current memory increases very quickly and is not freed. I reproduced the same problem using the Embed for your customers test application in NodeJS (https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/NodeJS/Embed%20for%20your%20custo... /AppOwnsData) with Firefox, Edge and Chrome browsers.
For this I modified the code of the file “public/js/index.js” line 46 to change the page every 5 seconds:
// Triggers when a report schema is successfully loaded report. on("loaded", function () { console.log("Report load successful"); report. getPages(). then(pages => { let num = 0; setInterval(() => { num = (num+1)%pages.length; report.setPage(pages[num].name) }, 5000) }) });
In the task manager, the memory increases very quickly (several hundred Mb per minute) and is only freed when the page is reloaded.
The test was performed with the "Service Principal" authentication method with the report "COVID-19 US Tracking Sample.pbix" (https://github.com/microsoft/powerbi-desktop-samples/tree/main/Sample %20Reports).
Best Regards
You can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues . If you have a Pro license you can consider raising a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
4 | |
4 | |
4 |