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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Bel
New Member

Use slicer to a filter table based on values in multiple columns

Hi, 

 

I am trying to filter a table of clients based on whether their account meets a certain criteria.

 

 Criteria 1Criteria 2Criteria 3Criteria 4Criteria 5Criteria 6
Client 1NO YESNOYESNOYES
Client 2YESNONONONONO
Client 3YESNONONONONO
Client 4YESYESYESYESYESYES
Client 5YESNONOYESYESYES

 

I want the slicer to be a list of the criterias.  Then if I select Critera 3, the table will filter to just show Client 4 (being the only Client who said YES to Criteria 3).

 

Any help appreciated.

 

Bel

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

Hi @Bel

 

Just Unpivot your Criteria columns

It will give you ALL criteria under one Column

 

Then you can create a SLICER for that column

 

1013.png

 

After unpivoting you will get

 

1014.png


Regards
Zubair

Please try my custom visuals

View solution in original post

2 REPLIES 2
Zubair_Muhammad
Community Champion
Community Champion

Hi @Bel

 

Just Unpivot your Criteria columns

It will give you ALL criteria under one Column

 

Then you can create a SLICER for that column

 

1013.png

 

After unpivoting you will get

 

1014.png


Regards
Zubair

Please try my custom visuals
Anonymous
Not applicable

 

 

 Hello Zubair,

 

Please, in my scenario I have two Sharepoint list multivalues column like ";#India;#China;#Japan;#Korea" and another column like ";#Gold;#Silver;#Iron". 

 

I need to filter rows that contains "Silver and China" or just "China". Do you have any idea.

 

Thanks,

 

Augusto

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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