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

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.

Reply
jscivias
Frequent Visitor

hide sub-filtering options for only certain categories in slicers

Hello, i have a geographical slicer such as below and was wondering if there was a way i can allow national and sub-national filter options only for certain countries (e.g., have Ile-de-France as an option under France, but not show Aichi under Japan), *while* still having all geographical data show up on my map/table etc.? Basically I want users to still see Aichi regional info if they select Japan, but not have it show up as one of the filter options. Thanks for your help

 

jscivias_0-1663083945454.png

 

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @jscivias ,

You can create another new calculated column as below in the region table, and use this column on the slicer to replace the original applied field. And the map visual still keep use the original field....

Column = IF ( 'Table'[sub-national] = "Aichi", "", 'Table'[sub-national] )

Best Regards

Community Support Team _ Rena
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

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi  @jscivias ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yiruan-msft
Community Support
Community Support

Hi @jscivias ,

You can create another new calculated column as below in the region table, and use this column on the slicer to replace the original applied field. And the map visual still keep use the original field....

Column = IF ( 'Table'[sub-national] = "Aichi", "", 'Table'[sub-national] )

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.