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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
bi_newww
New Member

How to create a slicer to filter multiple column headers

Hi all, I am really stuck trying to create 1 slicer that can filter the column values and show the desired selection on the line chart.

Basically, the slicer should have 6 options - 1) GCAN3M Index and 2) GCAN6M Index and so on. When the user clicks on "GCAN3M Index" for example, only the value under GCAN3M Index should be filtered and show on the chart. I can't seem to make this work by creating a new table that contains the column headers and a new measure to link it. Thanks in advance for your help!

 

bi_newww_0-1630791492440.png

 

2 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hi,

The data is not well structured.  RIght click on the Date column and select "Unpivot other columns".


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

mussaenda
Super User
Super User

Hi @bi_newww ,

 

you can unpivot your data so you can use the column headers as slicer.

If you need a smple output, please provide a sample data where we can copy.

 

Thanks.

Hope this helps.

View solution in original post

2 REPLIES 2
mussaenda
Super User
Super User

Hi @bi_newww ,

 

you can unpivot your data so you can use the column headers as slicer.

If you need a smple output, please provide a sample data where we can copy.

 

Thanks.

Hope this helps.

Ashish_Mathur
Super User
Super User

Hi,

The data is not well structured.  RIght click on the Date column and select "Unpivot other columns".


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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