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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Will_MJ_Rayner
New Member

Creating a Binary Toggle Filter from 3 Values

I have a colum in a table with a three statuses for the row: "Staus 1","Status 2" and "Both". I would like to implement a binary single select filter showing only options of "Staus 1" and "Status 2" where the records for "Both" are included in the results when either 1 or 2 are selected. Essentially this needs to be a toggle between Status 1 & 2 where "Both" is included in results for either toggle.

 

Bookmarks are not an option here as I have multiple bookmarks already present on this tab. It has to be a slicer solution that will act on all bookmarks.

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

You could create a helper table like

Status Slicer = SELECTCOLUMNS (
    {
        ( "Status 1", "Status 1" ),
        ( "Status 1", "Both" ),
        ( "Status 2", "Status 2" ),
        ( "Status 2", "Both" )
    },
    "Slicer status", [Value1],
    "Actual status", [Value2]
)

and then link the [Actual Status] column to the status column in your table. It would need to be many-to-many but you can make it single direction so that the slicer table filters the fact table.

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

You could create a helper table like

Status Slicer = SELECTCOLUMNS (
    {
        ( "Status 1", "Status 1" ),
        ( "Status 1", "Both" ),
        ( "Status 2", "Status 2" ),
        ( "Status 2", "Both" )
    },
    "Slicer status", [Value1],
    "Actual status", [Value2]
)

and then link the [Actual Status] column to the status column in your table. It would need to be many-to-many but you can make it single direction so that the slicer table filters the fact table.

Yes! That works perfectly!!😁👍

As it was previously with three options that users would have to select both and then one of the other two options, was causing user confusion, but this removes all of this unsurety. I've set it to single select so it's either one or the other. Perfect.

Thank you so much!

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.