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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Wael03
Helper I
Helper I

Percentage in a matrix

Hello,

 

I have this matrix : 

Wael03_0-1687964112876.png

 

As you can see, I have the total and also the percentage of the total as "show as percentage of grand total". But the thing is I would like to have the percentages depending on each level, let me explain.

I want the same percentage for the first level but then I would like the share of challenge and frictionless as subtotal so for example for the 2 first one instead of 4.05% and 1.69%, I would like to have 75% and 25%. 

How can I do that ?

 

Thank you !!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Wael03,

I'd like to suggest you take a look at the following link to know how to find the detail hierarchy levels of row context. You can use if statement to check the current row context and replace the specific level result with new Dax expressions.

Clever Hierarchy Handling in DAX - SQLBI
Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @Wael03,

I'd like to suggest you take a look at the following link to know how to find the detail hierarchy levels of row context. You can use if statement to check the current row context and replace the specific level result with new Dax expressions.

Clever Hierarchy Handling in DAX - SQLBI
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors