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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.