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! Request now

Reply
PBIFanHook7
Helper III
Helper III

Add common headings for two columns but still specify the # and % signs for the individual columns

I have a report with a table visual with individual column headings. I would like to know if/how I can change the columns to show multiple (two) columns under a common column heading, like in the screenshot below. Refer to columns C/D, E/F, G/H, and I/J. I still would like to show the # sign and % sign for the individual columns as showned in the below screenshot. I would like to do this in the current table visual, if possible. If not possible, please let me know how I can do it in a matrix or other visual. 

 

Thanks in advance for all help and suggestions. 

 

PBIFanHook7_0-1760625802761.png

 

 

 

1 ACCEPTED SOLUTION
v-pgoloju
Community Support
Community Support

Hi @PBIFanHook7,

 

Thank you for reaching out to the Microsoft Fabric Forum Community, and special thanks to @Ritaf1983 and @Greg_Deckler  for prompt and helpful responses.

 

Iโ€™ve tried to reproduce the scenario using the Power query. Please review and adjust it according to your data source. If the issue still persists, feel free to share more details, and weโ€™ll be happy to assist further.

 

Thanks & Regards,

Prasanna Kumar

 

 

View solution in original post

10 REPLIES 10
v-pgoloju
Community Support
Community Support

Hi @PBIFanHook7,

 

Just following up to see if the Response provided was helpful in addressing the issue. if the issue still persists Feel free to reach out if you need any further clarification or assistance.

 

Best regards,
Prasanna Kumar

v-pgoloju
Community Support
Community Support

Hi @PBIFanHook7,

 

Just following up to see if the Response provided was helpful in addressing the issue. if the issue still persists Feel free to reach out if you need any further clarification or assistance.

 

Best regards,
Prasanna Kumar

 

v-pgoloju
Community Support
Community Support

Hi @PBIFanHook7,

 

Thank you for reaching out to the Microsoft Fabric Forum Community, and special thanks to @Ritaf1983 and @Greg_Deckler  for prompt and helpful responses.

 

Iโ€™ve tried to reproduce the scenario using the Power query. Please review and adjust it according to your data source. If the issue still persists, feel free to share more details, and weโ€™ll be happy to assist further.

 

Thanks & Regards,

Prasanna Kumar

 

 

I tried opening your Matrix_Visual.pbix file. It is showing me the below screenshot report. I don't see the Matrix Report with the # sign and % sign for the individual column names as showned in the above screenshot which I provided. Please let me know, if the below is what I should be seeing, or am I missing something like another report (page) or if I need to sign in to power bi online. I am working in power bi desktop only.  Thanks for your help. 

 

PBIFanHook7_0-1762735808073.png

 

 

Hi @PBIFanHook7,

 

Iโ€™ve reproduced a similar scenario in Power Query using pivot and unpivot transformations, matching your requirement. Please check the applied steps once and adjust them as needed according to your data source.

If the issue still persists or youโ€™re seeing a different output, feel free to share more details or a sample dataset Iโ€™ll be happy to take another look and help further.

 

Thanks & Regards,

Prasanna Kumar

PBIFanHook7
Helper III
Helper III

Okay, I have converted the table to a matrix. My matrix setup is in the below screenshot. (I currently don't have column B as part of the matrix.) For columns C/D, E/F, G/H, and I/J, I still would like to show the # sign and % sign for the individual column names as showned in the above screenshot. Thanks for all help and suggestions. 

 

PBIFanHook7_0-1760720406554.png

 

 

Greg_Deckler
Community Champion
Community Champion

@PBIFanHook7 You can do that using a Matrix visual instead.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Greg, thanks for your suggestions. I have converted the table to a matrix. My matrix setup is in the below screenshot. (I currently don't have column B as part of the matrix.) For columns C/D, E/F, G/H, and I/J, I still would like to show the # sign and % sign for the individual column names as showned in the above screenshot. Thanks for all help and suggestions. 

 

PBIFanHook7_0-1760720646131.png

 

Hi @PBIFanHook7 

You can achieve this layout by using a Matrix visual instead of a Table.

In order to display common headers (e.g., โ€œChildren with Siblingsโ€) with two subcolumns (# and %), your data model needs to include a column such as [Type of number], where each row is classified as either โ€œ#โ€ or โ€œ%.โ€

Ritaf1983_0-1760723080958.png

 

Then, instead of dragging the raw value field, create a measure:

Value_ = SUM('Table'[Value])


Apply a dynamic format string to that measure:

IF(SELECTEDVALUE('Table'[Type of number]) = "#", "0", "0%")

Ritaf1983_1-1760723115668.png

 


In the Matrix visual:

Place the main category (e.g., โ€œChildren with Siblingsโ€) under Columns

Place [Type of number] under it (so you get both # and % subcolumns)

Use Value_ as the value measure

Ritaf1983_2-1760723145580.png

The pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Rita, I just want to say thank you for the power bi example. I got pulled away from this task. I will look closer at it soon. What you provided seems to be what I need, but I want to work through first. Then I will respond again. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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