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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
HB13
Helper I
Helper I

How to create a PBI table visual with grouped-column and sub-column names

Hi all

I am trying to create a table visual in PBI whereby columns comparing data from this year, last year and the year-on-year change are grouped under a broader column heading. Like this;

 

HB13_0-1669122147153.png

 

Group and Branch are coming from an imported table, all other fields (ThisYear, LastYear and YOY change) are measures. How do I go about grouping the measures under their relevant headings (Gross Amount, Quotes etc) ? 

 

Many thanks and kind regards

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi @HB13 ,

Set up Attribute (you can rename it) as your column in the matrix visual, and the Values column as your matrix's Values. 

 

And you could learn about unpivot in power bi.

Similar question refer:

https://community.powerbi.com/t5/Desktop/How-to-display-measure-as-sub-columns-in-matrix-visual/m-p/... 

 

 

Best Regards

Lucien

amitchandak
Super User
Super User

@HB13 , Based on what I got, Calculation group should help, refer few format I have discussed here

 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

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

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors