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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sidd_xp
New Member

How to add column headers into Slicer.

I need help in creating a slicer containing values as column headers.

For example, I have headers Q1_2018, Q2_2018 etc and want these into slicer to filter the graphs accordingly.Capture.PNG

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @sidd_xp ,

 

If you have access to this table in Power Query, you should multi-select columns [Country Name] to [ROAA_Remarks] (or basically any column that isn't  'QX_YYYY' column), then go to Transform tab > Unpivot columns (dropdown) > Unpivot Other Columns.

This will structure your data correctly for Power BI reporting.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

1 REPLY 1
BA_Pete
Super User
Super User

Hi @sidd_xp ,

 

If you have access to this table in Power Query, you should multi-select columns [Country Name] to [ROAA_Remarks] (or basically any column that isn't  'QX_YYYY' column), then go to Transform tab > Unpivot columns (dropdown) > Unpivot Other Columns.

This will structure your data correctly for Power BI reporting.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.