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

The Fabric Community site will be in read-only mode on Monday, Feb 24 from 12:01 AM to 8 AM PST for scheduled upgrades.

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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