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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.