Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
TangoTango
New Member

See slicer value options through API

Is there a way to see what values are available for selection in a given slicer through the api?

 

I'm writing a validation process using the embedded api to, one at a time, select any value for a single slicer and then export data, then doing the same with the next slicer.  I know how to set values, export data, restore the report to its default state (I set a bookmark for this), but just don't know how to get an valid example value for a given slicer.  Is there some automated way of getting a list of values that are available for selection for that slicer? It doesn't have to be through the embedded api if there is some way to accomplish this in the REST api or elsewhere, I'm open to that, though the embedded api is prefered if its possible there.

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.