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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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