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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
dharish20240911
New Member

Filtering 2nd dropdown slicer by choosing options in 1st slicers

Example : 

I have three dropdown slicers titled as : 
1)Region , 2) Country , 3) City
When user select "Asia" from 1st dropdown(Region) then dynamically only related options (Countries in Asia) should be shown in 2nd slicer(Country) as 
India
China
Japan
Nepal
and When user select one of the option as "India" in 2nd dropdown(Country) then dynamically only related options (Cities in India ) should be shown in 3rd slicer as city names
Delhi
Mumbai
Hyderabad
Chennai
Please advise me in this concern using DAX.

2 ACCEPTED SOLUTIONS
nandic
Super User
Super User

Hi @dharish20240911 ,
Have you try creating it in Power BI?
Based on description, you don't need any DAX.
This is normal (standard) behaviour of visuals in Power BI.

Just create 3 slicers.
1. slicer = column Region
2. slicer = column country
3. slicer = column city

Once you select value in 1. slicer, it will automatically filter out 2. and 3. slicer (it will only show relevant data).

In Power BI more work is expected to disable interaction between visuals 😉

Cheers,
Nemanja Andic

View solution in original post

jdbuchanan71
Super User
Super User

Put all the data in a single table.  When a user selects a region, that will then limit the rows that show up to populate the country list.  When they select a country that will limit the rows that show up in the city list.

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

Put all the data in a single table.  When a user selects a region, that will then limit the rows that show up to populate the country list.  When they select a country that will limit the rows that show up in the city list.

nandic
Super User
Super User

Hi @dharish20240911 ,
Have you try creating it in Power BI?
Based on description, you don't need any DAX.
This is normal (standard) behaviour of visuals in Power BI.

Just create 3 slicers.
1. slicer = column Region
2. slicer = column country
3. slicer = column city

Once you select value in 1. slicer, it will automatically filter out 2. and 3. slicer (it will only show relevant data).

In Power BI more work is expected to disable interaction between visuals 😉

Cheers,
Nemanja Andic

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.