Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Is there any way to get dropdown options from a slicer via any javascript library or any REST API?
Consider if we have a slicer called City, which have dropdown options like Sydney, Melbourne, Brisbane etc. What's the possible way to get these values programmatically?
Hi @Harshasripathi ,
I am not sure if you can connect specifically slicer itself but you can connect the underlying data, which is used for any visual.
For example. If you have Premium workspace, you can use XMLA endpoint to connect to your dataset via tabular editor or MS SQL server management studio and get data from "City" column in a "Programmaticall" way.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
19 | |
3 | |
2 | |
2 | |
2 |