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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Pranshu2
Microsoft Employee
Microsoft Employee

How to create sub headers in power bi table

Hello All,

I have two tables as shown below -

Table 1 :

TestSetSourceLocaleTestSetTargetLocaleScoreAlgoTypeNormalizationType
en-usfr-fr35SacreBleuCaseInsensitive
en-usfr-fr33.3SacreBleuCaseSensitive
en-usfr-fr36.61StdBleuCaseInsensitive_NoPunc
en-usfr-fr35.22StdBleuCaseInsensitive_WithPunc

 

Table 2:

TestSetSourceLocaleTestSetTargetLocaleScoreAlgoType
en-usfr-fr0.11ITN
en-usfr-fr0.12TrueText
en-usfr-fr0.13Lexical

 

I want to generate a Table 3 which has subheaders:

TestSetSourceLocaleTestSetTargetLocaleSacreBleuStdBleuWER
  CaseSensitiveCaseInsensitiveCaseInsensitive_NoPuncCaseInsensitive_WithPuncITNTrueTextLexical
en-usfr-fr33.33535.2236.610.110.120.13

 

Thanks

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

Hi @Pranshu2 ,

 

We can use the append function in Power Query and create a matrix table to meet your requirement.

 

1. Change the Algo Type column name to NormalizationType.

 

How1.jpg

 

2. Then append the Table and Table (2)

 

How2.jpg

 

3. At last we can create a matrix table using Append table to get the result.

 

How3.jpg

 

If it doesn’t meet your requirement, could you please show the exact expected result based on the table that you have shared?

 

Best regards,

 

Community Support Team _ zhenbw

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

 

BTW, pbix as attached.

View solution in original post

4 REPLIES 4
v-zhenbw-msft
Community Support
Community Support

Hi @Pranshu2 ,

 

How about the result after you follow the suggestions mentioned in my original post?

Could you please provide more details or expected result about it If it doesn't meet your requirement?

If you've fixed the issue on your own please kindly share your solution. If the above posts help, please kindly mark it as a solution to help others find it more quickly.

 

Best regards,

 

Community Support Team _ zhenbw

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

v-zhenbw-msft
Community Support
Community Support

Hi @Pranshu2 ,

 

We can use the append function in Power Query and create a matrix table to meet your requirement.

 

1. Change the Algo Type column name to NormalizationType.

 

How1.jpg

 

2. Then append the Table and Table (2)

 

How2.jpg

 

3. At last we can create a matrix table using Append table to get the result.

 

How3.jpg

 

If it doesn’t meet your requirement, could you please show the exact expected result based on the table that you have shared?

 

Best regards,

 

Community Support Team _ zhenbw

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

 

BTW, pbix as attached.

FarhanAhmed
Community Champion
Community Champion

You can use Matrix Visual

 

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual#drill-down-on-row-headershtt...







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




amitchandak
Super User
Super User

@Pranshu2 , you can have a table with a sub-column header. You can have a matrix display.

 

https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.