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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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