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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
pivotunpivot
Regular Visitor

Group Column Headers When Data Cannot be Unpivoted

I have sets of columns that need to be grouped with a column group header. I understand this can only happen in a Matrix, NOT a Table.

Is there any way to simply apply a column header label without unpivoting the data? The data consists of several different data types (strings, currency format, percentage format, etc) and those types needs to be preserved. My actual data has about 40 columns, but I've made a dummy matrix that would be in the ideal format below.

 

pivotunpivot_0-1668033966610.png

2 REPLIES 2
amitchandak
Super User
Super User

@pivotunpivot , calculation groups can help: Calculation Groups - Use Measure with small multiple : https://www.youtube.com/watch?v=LEn6ZnScMZc 

 

or refer

column header grouping
https://www.daxpatterns.com/dynamic-segmentation/
https://community.powerbi.com/t5/Desktop/Matrix-Display-Values-above-Columns/td-p/256905
https://community.powerbi.com/t5/Desktop/grouping-measure-results/td-p/456795

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for the reply, but this doesn't seem to solve it. My values are all pulled from a data source. None are derived or calculated as seems to be the case in your examples. The values have varying data types.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors