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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Harshasripathi
Regular Visitor

Get slicer data from powerbi page

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?

1 REPLY 1
Migasuke
Memorable Member
Memorable Member

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.

 



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.