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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.