Reply
Pier14
New Member
Partially syndicated - Outbound

Filtering based on selection from slicer

Hi there -

 

I have a data set that flags different criteria using true/false in 4 different columns.

 

For example

 

High Repairs - True/False 

High Age - True/False

High Downtime - True/False

High Usage - True/False

 

In my power bi dashboard, I am trying to create a slicer that allows the user to pick one of these 4 different flags and only return the TRUE value from these columns.  

 

I have been stuck on this for days.  I tried creating a parameter based on selected value,  but I don't know how to get it to return only TRUE.  Any insights would be greatly appreciated!!!

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

Syndicated - Outbound

@Pier14 

you can do the data transform in PQ

1. select those 4 columns and unpivot columns

 

11.PNG

 

then unselect false in the value column

 

12.png

 

13.PNG

 

then you can drag attribute to the filter visual. when you select the value under attribute , you will get all true values .

 

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
ryan_mayu
Super User
Super User

Syndicated - Outbound

@Pier14 

you can do the data transform in PQ

1. select those 4 columns and unpivot columns

 

11.PNG

 

then unselect false in the value column

 

12.png

 

13.PNG

 

then you can drag attribute to the filter visual. when you select the value under attribute , you will get all true values .

 

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)