Forum Discussion
Embedding PowerBI in a PCF Control.
- 1 year ago
Hi Jaknap,
I have identified few alternative workarounds that may help resolve the issue. Please follow these steps:
The Power BI JavaScript SDK does not provide direct methods to disable real-time updates. However, you can manage the frequency and behavior of updates by adjusting the report configuration in Power BI. Reports linked to real-time or streaming datasets will continue to update automatically.To reduce network impact and control update frequency, consider:
- Configuring the report to use import mode (static datasets) instead of live or streaming datasets.
- Utilizing "load" or "render" events in the SDK to load reports only when necessary (e.g., on-demand).
The frequent subscribe requests are likely due to the Power BI report’s configuration or the live connection to a data source. These requests occur as Power BI needs to keep the data synced. To manage this, suggest:- Using the embedConfig parameter to control interactivity settings, such as disabling auto-refresh features.
- Employing event handlers like onDataChanged to manage update timings, rather than relying on default behaviors.
Kindly refer to these links:
Power BI embedded analytics overview - Power BI | Microsoft LearnPower BI embedded analytics Client APIs | Microsoft Learn
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using Microsoft Community Forum.
Thank you for your response. Much appreciated. Is there any settings or workaround I can do at the SDK level?
I am seeing lot of subscribe request being made in the network tab. Is this because of the real time update.
Thank You
J
- v-kpoloju-msft1 year agoCommunity Support
Hi Jaknap,
I have identified few alternative workarounds that may help resolve the issue. Please follow these steps:
The Power BI JavaScript SDK does not provide direct methods to disable real-time updates. However, you can manage the frequency and behavior of updates by adjusting the report configuration in Power BI. Reports linked to real-time or streaming datasets will continue to update automatically.To reduce network impact and control update frequency, consider:
- Configuring the report to use import mode (static datasets) instead of live or streaming datasets.
- Utilizing "load" or "render" events in the SDK to load reports only when necessary (e.g., on-demand).
The frequent subscribe requests are likely due to the Power BI report’s configuration or the live connection to a data source. These requests occur as Power BI needs to keep the data synced. To manage this, suggest:- Using the embedConfig parameter to control interactivity settings, such as disabling auto-refresh features.
- Employing event handlers like onDataChanged to manage update timings, rather than relying on default behaviors.
Kindly refer to these links:
Power BI embedded analytics overview - Power BI | Microsoft LearnPower BI embedded analytics Client APIs | Microsoft Learn
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using Microsoft Community Forum.- v-kpoloju-msft1 year agoCommunity Support
Hi Jaknap,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
- v-kpoloju-msft1 year agoCommunity Support
Hi Jaknap,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.