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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
jshinnenkamp
Frequent Visitor

Using a slicer to change which measure is used. Trouble with Multi select

I used this source to have a basic yes/no option that either shows a line on a visual or blanks it out. https://www.fourmoo.com/2017/11/21/power-bi-using-a-slicer-to-show-different-measures/

 

My issue is when a user uses Ctrl to select both Yes and No - I'd like it to default to yes. Instead I'm getting this error (the visual is a custom chiclet slicer, where I have Multiple selction set to off and Forced selection to on): 

 

image.png

1 REPLY 1
d_gosbell
Super User
Super User

The code in the article from fourmoo.com looks like it should deal with multi-select fine as it will default to "Sales" if more than one item is selected in the slicer.

 

Can you post the expression you are using for the [Capacity+1] measure as the issue is probably in there somewhere?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.