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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Single Option Slicer

I have two different amount columns, one for cleared, one for discrepant, and I want to create a slicer to show only the records with a discrepant amount. Most of the time it's an either/or scenario, but there is a small population that has values for both.

 

I tried using a calculated column as a helper to drive the slicer, but then if you select the "No" option, it will remove the last line and give the wrong total for the "Cleared" column. 

 

Capture.PNG

 

And if I change the "No" to being blank, then the slicer has the "(Blank)" option, which I'd prefer not to have so as not to confuse end users.

Capture2.PNG

 

Ideally, the slicer would look more like this, being closer to a toggle. Is that even possible?

Capture3.PNG

 

 

1 ACCEPTED SOLUTION
Cmcmahan
Resident Rockstar
Resident Rockstar

Sure.  Edit the visual level filter on your slicer, and set it so that it only displays values where [Discrepant?] = "Yes" 

View solution in original post

2 REPLIES 2
Cmcmahan
Resident Rockstar
Resident Rockstar

Sure.  Edit the visual level filter on your slicer, and set it so that it only displays values where [Discrepant?] = "Yes" 

Anonymous
Not applicable

Wow. I feel dumb.

 

Thanks.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.