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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.