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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Calculate % of subtotal per category per type in a matrix table

Hi Champions 

I have this visualisation in PB:

Narsis_1-1716243422630.png

 

Want to calulate % of each column for each country  and show it under total in the matrix table. Can anyone assist me :  something like below: 

Narsis_0-1716243375993.png

Thanks

 

2 REPLIES 2
Anonymous
Not applicable

Thanks Vicky, I couldn'y figure out with your solution. I am looking for someting like this (Red Circle)

Narsis_0-1716248991117.png

 

vicky_
Super User
Super User

Are you using implicit measures? if so then there an option to show subtotals %

vicky__0-1716245638611.png

 

If you only need the value to show in the totals row, then the solution might be a bit more complicated. I would use a measure instead, and do something like:
Measure = IF(HASONEVALUE(Table[Country]), 

    // your existing calculation here

    // else DIVIDE(your calculation, CALCULATE(your calculation, removefilters(Table[Country]))
)

 

    

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.