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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors