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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
dharish20240911
New Member

Filtering the drop 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.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dharish20240911 

 

Currently, the dax function can not recognize place names, and if you can't join the relationships, you can only manually add calculated columns, for example:

Here's a sample able:

Table3;

vzhengdxumsft_0-1726039282009.png

Add a calculated column:

Country =
SWITCH (
    TRUE (),
    'Table3'[City] IN { "Delhi", "Mumbai", "Hyderabad", "Chennai" }, "India",
    'Table3'[City] = "Beijing", "China",
    'Table3'[City] = "London", "Europe",
    BLANK ()
)

vzhengdxumsft_1-1726039324335.png

 

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @dharish20240911 

 

Currently, the dax function can not recognize place names, and if you can't join the relationships, you can only manually add calculated columns, for example:

Here's a sample able:

Table3;

vzhengdxumsft_0-1726039282009.png

Add a calculated column:

Country =
SWITCH (
    TRUE (),
    'Table3'[City] IN { "Delhi", "Mumbai", "Hyderabad", "Chennai" }, "India",
    'Table3'[City] = "Beijing", "China",
    'Table3'[City] = "London", "Europe",
    BLANK ()
)

vzhengdxumsft_1-1726039324335.png

 

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

dharish20240911
New Member

They are different tables and have no relationships , they all are dimensinal tables connected with fact table. 

Kaviraj11
Super User
Super User

Hi,

 

Are all three fields coming from the same table or is there any relationship created between them from different tables?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors
Top Kudoed Authors