Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello good peoples,
I'm facing an issue where I can't read the slicer state of inactive pages in an embedded Power BI report.
Here's my use case:
Unfortunately, it seems the slicer state of inactive report pages cannot be accessed directly.
Does anyone have a workaround or solution to solve this issue? Any guidance or suggestions would be greatly appreciated.
Thank you!
Solved! Go to Solution.
Hi @Mestu_Paul - Unfortunately, the dataSelected event doesn't trigger for range slicers. This is a limitation of the Power BI API. Since the API does not directly support range slicer event tracking, you can periodically check the state of the slicer using the getFilters() method.
you can integrate these ideas into your workflow as below:
1.Use getFilters() for range slicers and hierarchy slicers.
2.Store these states in a centralized object.
3.Track page changes:
4.Use the pageChanged event to capture slicer states before navigation.
5.Update paginated report parameters:
6.Pass the stored slicer states as parameters to the paginated report API.
If these approaches still don’t meet your needs, consider submitting feedback to Microsoft or raising a support ticket.
Get Help + Support in Power Platform - Power Platform | Microsoft Learn
Proud to be a Super User! | |
Use the sync slicers functionality to add the slicers to all pages of the report, but make them invisible on the pages where you don't actually want to see them.
Hi @Mestu_Paul -Power BI typically doesn’t load the visual or filter context of inactive pages until they are activated.
you can try with synced slicers across pages if applicable.Optimal Solution: Design a centralized Master Page for slicers or use the Power BI JavaScript API to navigate inactive pages dynamically.
or use the Power BI REST API for exporting filtered data or visuals.
Proud to be a Super User! | |
Thanks for your suggestions!
I also tried utilizing the embedded events.
Hi @Mestu_Paul - Unfortunately, the dataSelected event doesn't trigger for range slicers. This is a limitation of the Power BI API. Since the API does not directly support range slicer event tracking, you can periodically check the state of the slicer using the getFilters() method.
you can integrate these ideas into your workflow as below:
1.Use getFilters() for range slicers and hierarchy slicers.
2.Store these states in a centralized object.
3.Track page changes:
4.Use the pageChanged event to capture slicer states before navigation.
5.Update paginated report parameters:
6.Pass the stored slicer states as parameters to the paginated report API.
If these approaches still don’t meet your needs, consider submitting feedback to Microsoft or raising a support ticket.
Get Help + Support in Power Platform - Power Platform | Microsoft Learn
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |