Forum Discussion

Jaknap's avatar
Jaknap
New Member
1 year ago
Solved

Embedding PowerBI in a PCF Control.

Hello All, I am using PowerBI JavaScript SDK to embed a powerbi in a PCF control. The PCF control is inside a Dynamics 365 model driven app. On loading the form in a powerapps mobile, I am getting w...
  • v-kpoloju-msft's avatar
    v-kpoloju-msft
    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 Learn

    Power 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.