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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Ncsbr
Frequent Visitor

Slicer into multiple boolean columns with "and" condition

Hi,

I'm trying to solve an issue that is to transform many slicers of booleans columns into one unique slicer that does the same filters together. The point is that they have to work with the "AND" logical condticion. So If two are selected as true, it must return only the rows's that contains both.

 

So I'm trying to turn this:

Ncsbr_0-1685968864144.png

 

to this:

 

Ncsbr_1-1685968937025.png

 

I tried to pivot the many boolean columns that I had into to make the slicer work with the Atributes column. However it's working with the "OR" Logical condition.

 

So, if I select "True" to "HIDROSSANITARIO" and "ELETRICO" in the first version of slicers it returns only Ids that has both as "True". But In the second slicer, if I select both "HIDROSSANITARIO" and "ELETRICO" it returns Ids that has one or another option as "True" and I'm looking for a slicer that return's only the Ids that has both.

 

That's the pivoted table, on the filtered Rows I took of the "Falses" rows: 

Ex3.png

Can someone help me with that?

Thanks
Nicholas M.A.

1 REPLY 1
johnt75
Super User
Super User

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.

Top Solution Authors