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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Ashik008
Frequent Visitor

Power bi slicer

Hi All,

I need a help.My data is like this. i need to have slicer with contains "Green ,Yellow,Red. so when i select Green it shows only the Green rated items. please help

productjan ratingfeb ratingmarch rating
AbcGreenGreenYellow
AbcYellowRedRed
sdcGreenredyellow
2 REPLIES 2
cursed
Frequent Visitor

Hey,

It's a bit of a complex apporach but there's a intresting soultuion here that might be worth checking out
Solved: Re: How to make a slicer to filter for multiple co... - Microsoft Power BI Community

Please let me know if this is of any help or if you would like any additional support? 

Many Thanks
Ben

DOLEARY85
Super User
Super User

Hi,

 

you could unpivot the columns in power query so that all the values are in the same field and then use the slicer on that value field. If you need the data in the same format, you could duplicate the table, then unpivot the new tabe and join the tables in model view.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.