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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Pranshu2
Employee
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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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