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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.