Forum Discussion

yannaingoo's avatar
yannaingoo
Icon for Advocate I rankAdvocate I
8 months ago
Solved

Slicer does not work on PBI Embeded page.

Hello 

May i ask what code need to be added in my plain html page for getting slicers synchroization in my embedded page ?? 

the below include slider (Home page) and synced to other pages. when i click on home page pbi url navigated to other pages and that pages does not work what i have selected in Home page. 

 

<iframe
  title="Deposit Account Tracker"
  width="1840"
  height="941.25"
  frameborder="0"
  allowFullScreen="true">
</iframe>
  • Simply embedding a Power BI report in an `<iframe>` does not support slicer synchronization across pages. To make slicers sync in an embedded scenario, you need to:

    1. Configure Sync Slicers in Power BI

    • Open the report in Power BI Desktop.
    • Go to View → Sync Slicers pane.
    • Select which slicers should sync across pages.
    • Publish the report again.

    Microsoft documentation: 

    https://learn.microsoft.com/en-us/power-bi/developer/visuals/enable-sync-slicers

     

    To get slicer synchronization working:

    1. Configure slicer sync in Power BI Desktop/Service.
    2. For dynamic control, use the Power BI JavaScript API (`powerbi-client`) instead of a plain `<iframe>`.

4 Replies

  • Simply embedding a Power BI report in an `<iframe>` does not support slicer synchronization across pages. To make slicers sync in an embedded scenario, you need to:

    1. Configure Sync Slicers in Power BI

    • Open the report in Power BI Desktop.
    • Go to View → Sync Slicers pane.
    • Select which slicers should sync across pages.
    • Publish the report again.

    Microsoft documentation: 

    https://learn.microsoft.com/en-us/power-bi/developer/visuals/enable-sync-slicers

     

    To get slicer synchronization working:

    1. Configure slicer sync in Power BI Desktop/Service.
    2. For dynamic control, use the Power BI JavaScript API (`powerbi-client`) instead of a plain `<iframe>`.

  • v-prasare's avatar
    v-prasare
    Icon for Community Support rankCommunity Support

    Hi yannaingoo,

    We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.

     

    lbendlin, thanks for your prompt response

     

     

     

    Thank you for your patience and look forward to hearing from you.
    Best Regards,
    Prashanth Are
    MS Fabric community support

  • v-prasare's avatar
    v-prasare
    Icon for Community Support rankCommunity Support

    Hi @yannaingoo,

    We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.

     

     

     

    Thank you for your patience and look forward to hearing from you.
    Best Regards,
    Prashanth Are
    MS Fabric community support