Forum Discussion
Grasmachien
3 years agoFrequent Visitor
How to get slicer options with PowerBI client
Background Currently we have an embedded PowerBI iframe with the PowerBi client. This iframe contains some dropdowns to filter the data. Question I'm looking for a way to remove some slicers/f...
Grasmachien
3 years agoFrequent Visitor
Hi Anonymous,
Thanks for your answer!
This explanation only shows the current applied filters.
Is there a way to get all the possible options (applied and non applied) that are available for a specific slicer?
For example: We have 3 slicers as dropdowns in our embedded report. The values of the these slicers are dependend on the main filter that is beind set on the report. So they are not always the same.
Is there a way to get all the options that these slicers display so that I can rerender them outside of the iframe in custom html/css?
Anonymous
2 years agoNot applicable
GrasmachienThis is possible using the `VisualDescriptor.exportData()` method, which gives you a list of up to 30,000 options.