cancel
Showing results for 
Search instead for 
Did you mean: 
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
yingyinr
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
yingyinr
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.
yingyinr
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Dev Camp Session 30

Ted's Dev Camp - January 26, 2023

This session will provide guidance and teach campers the skills required to build Power BI reports that support multiple languages.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.