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
Anonymous
Not applicable

Sub Headers for Columns in Power BI Table

Hi All,
Is the below visual possible in Power BI. The Sales column should have two or more sub headers. 

Thanks in Advance for the help.

 

image.png

1 ACCEPTED SOLUTION
v-gizhi-msft
Community Support
Community Support

Hi,

 

Please take following steps:

1)Unpivot [Commericial] and [Resdential] column.

2)After Apply&Close, create a new column:

. = "Sales($)"

3)Choose matrix visual, the result shows:

81.PNG

Here is my test pbix file:

pbix 

Hope this helps.

 

Best Regards,

Giotto

View solution in original post

3 REPLIES 3
v-gizhi-msft
Community Support
Community Support

Hi,

 

Please take following steps:

1)Unpivot [Commericial] and [Resdential] column.

2)After Apply&Close, create a new column:

. = "Sales($)"

3)Choose matrix visual, the result shows:

81.PNG

Here is my test pbix file:

pbix 

Hope this helps.

 

Best Regards,

Giotto

amitchandak
Super User
Super User

You need to have for everything. You can have empty for others

https://community.powerbi.com/t5/Desktop/Give-Columns-Shared-Header/m-p/994813

Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

The matrix visual can create sub column, however, it can not be applied only to a specific column, it has to be all or nothing.

Otherwise, it can be achieved easily using Paginated Reports if you have Premium 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

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.