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
Diva20
Frequent Visitor

Add an additional column to the column level hierarchy in a Matrix level visual

Hi Users

 

Im trying to add an additonal column to the column level hierarchy in a Matrix Visual. 

 

In my current table i have data for "fruit" which has three sub category "Apples, Mango, Pineapple", each column has an average value as shown in the screenshot. 

 

I want to add an average value column before "Apples, Mango, Pineapple" (refer to the attached screenshot)

 

example 1.PNG

 

but i want to add another column with "average value" of all three fruits in one column along with each sub category average. (attached an example below)

 

Can you please help me out on how to achieve this on a matrix visual?

 

Thanks in advance 🙂

 

example 2.png

 

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @Diva20 ,

 

Here are the steps you can follow:

1. Create calculated column to find the average value of all three fruits.

ALL_Sum =
'Table'[Apples]+'Table'[Mango]+'Table'[Prineapple]
All_AVG = 'Table'[ALL_Sum]/3

2. Use Matrix to select a column, select average, and find each sub category average.

v-yangliu-msft_0-1605490245826.jpeg

3. Result.

v-yangliu-msft_1-1605490245831.jpeg

You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

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

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.