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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
dyeraker
Regular Visitor

Change slicer settings dynamically to single selection

Hi, 

I'm looking for help for an issue I've been stuck with for a couple of days now. I have two slicers where slicer1 only accepts two values (option1 and option2) and slicer2 has multiple values. I'd like to allow multiple values to be selected in slicer2 at once, if option1 is selected in slicer1. However, if slicer1 is set to option2, I'd like to limit slicer2 so that only one option can be chosen at a time.

Is there any way to do this? 

Thanks in advance!

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @dyeraker 

 

You can try the following methods.

Measure = SWITCH(TRUE(),
SELECTEDVALUE(Slicer1[Slicer1])=BLANK(),1,
SELECTEDVALUE(Slicer1[Slicer1])<>BLANK()&&SELECTEDVALUE(Slicer1[Slicer1])=SELECTEDVALUE(Slicer2[Slicer2]),1,
0)

vzhangti_0-1692626116901.png

Result: The choice of Slicer2 does not affect Slicer1, but the choice of Slicer1 will limit Slicer2.

vzhangti_1-1692626135433.png

vzhangti_2-1692626146307.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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-zhangti
Community Support
Community Support

Hi, @dyeraker 

 

You can try the following methods.

Measure = SWITCH(TRUE(),
SELECTEDVALUE(Slicer1[Slicer1])=BLANK(),1,
SELECTEDVALUE(Slicer1[Slicer1])<>BLANK()&&SELECTEDVALUE(Slicer1[Slicer1])=SELECTEDVALUE(Slicer2[Slicer2]),1,
0)

vzhangti_0-1692626116901.png

Result: The choice of Slicer2 does not affect Slicer1, but the choice of Slicer1 will limit Slicer2.

vzhangti_1-1692626135433.png

vzhangti_2-1692626146307.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

 

ray_aramburo
Super User
Super User

Not at the moment, selection configuration is exclusive to each slicer.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors