Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have a report with two pages and the "sync slicers" feature is enable to allow the slicer on the first page to affect the second page. On the second page there is an "invisible" slicer that is not visible to users. (I suppose this is how the sync slicer feature is supposed to work.)
Given that BI report, I'm using trying to use it in Power BI embedded. I'd like to use javascript to auto-navigate to the page where the slicer is visible, and set the slicer state on that page.
However, if I enumerate the pages and visuals in the report, I find BOTH instances of the slicer (which is fine) but there appears to be NO WAY to determine which of them is currently visible. The end result is that I don't have any way to know what page to navigate to.
I'm starting by enumerating all the pages, and for each page I use the "getVisuals" function.
https://microsoft.github.io/PowerBI-JavaScript/classes/_src_page_.page.html
As I inspect each of those visuals, there appears to be no property that would indicate if the slicer in question is visible or not:
https://microsoft.github.io/PowerBI-JavaScript/classes/_src_visualdescriptor_.visualdescriptor.html
I may be doing something wrong. It seems like it should be easier to find the visible instance of the sync'ed slicer. Any tips would be appreciated.
User | Count |
---|---|
10 | |
5 | |
4 | |
4 | |
3 |
User | Count |
---|---|
14 | |
9 | |
5 | |
5 | |
4 |