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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Need Help finding a solution for percentage of totals

I need to find the percentage of each providers total units per Proccode for 2024.

 

For Example: if Dr Doe had 1 unit for proccode 9921 and 3 units for 9922.

it would be 25% for 99202 and 75% for 99203.

 

How can I get my table to display this? I tried using "show value as" bt it only shows the percentage of the grand total. When I am needing the percentage of each indiviual providers total. 

 

 

2 REPLIES 2
vicky_
Super User
Super User

vicky__0-1718922727370.png

I have my table setup like the above, and then created  a measure:

Percentage of Total per Provider = 
var denominator = CALCULATE(COUNTROWS('Table'), REMOVEFILTERS('Table'[Postcode]))
var numerator = COUNTROWS('Table')
return DIVIDE(numerator, denominator)

And then the result looks something like:

vicky__1-1718922760682.png

If that isn't what you want, please provide some sample data with any sensitive info removed so that we can provide more specific help.

Anonymous
Not applicable

Here some sample data. I have thousands of rows of data so I am not able to recreate the table you have. 

 

https://www.dropbox.com/scl/fi/yl0prxe9t1k4t21tsw1m6/CPT-Volumes-Graphs-Copy.pbix?rlkey=6mk6m9kfwipp...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.