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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.