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
martingale2023
New Member

Dropdown selection based on another selection

I have a visualization in which i have two drop down box selection.

the second drop down selections should be based on the first selection and then query database.

e.g. my first selection is 2023 , then the second selection content should be whatever returned from below query

select distinct quarter from myTable where year = selection1Year

 

how to get this in power bi?

thanks

1 REPLY 1
lbendlin
Super User
Super User

That is usually achieved through the data model.  If your slicer sources are unrelated you can use measures as visual filters.  Note: This can only ever go one way.

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.