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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Shivigupta
Regular Visitor

Need Help with Slicer Behavior in Power BI: How to Enable/Disable Regions Based on 'ALL' Selection

Hello everyone,

 

I have a requirement for a slicer that displays six region names. Five of these regions are named, and the sixth one is named "ALL" region. Here's the requirement: If a user selects "ALL" region, the other five regions should be deselected and disabled. However, if a user selects any of the five named regions, "ALL" region should be deselected and disabled.

I need assistance with implementing this.

IMG_20231019_125604.jpg

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

Hi @Shivigupta 

You can consider to create a bookmark called "All",  add a bookmark and hide the slicer visual.

Then create a bookmark called "Region", display the slicer visual.

Then add a bookmark button

Output

vxinruzhumsft_0-1698030263590.png

vxinruzhumsft_0-1698030436249.png

 

Best Regards!

Yolo Zhu

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-xinruzhu-msft
Community Support
Community Support

Hi @Shivigupta 

You can consider to create a bookmark called "All",  add a bookmark and hide the slicer visual.

Then create a bookmark called "Region", display the slicer visual.

Then add a bookmark button

Output

vxinruzhumsft_0-1698030263590.png

vxinruzhumsft_0-1698030436249.png

 

Best Regards!

Yolo Zhu

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

 

 

lbendlin
Super User
Super User

You seem to be trying to reinvent existing functionality.  On your slicer, enable the "Select All"  option.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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