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

Percentage of row total with another sum value measure

Hello, 

 

I trying to figure out on how to solve this problem, if it's even possible. 

 

I have a table Date - with years, another table Category (a,b,c) and facts table with value.

 

YearA(PC)B(PC)C(PC)
20008988
200151555
2002234511
2003693522
2004142233
20058225

 

I want to make a matrix with new calculated fields and the add percentage of row total to it. Firstly I've created a measure where I sum up values from the category A with Category B - that gives me the column A+B(PC). 

 

And then create another measure to get the percentage of row total.

 

The problem is I'm not sure on how to get the calculated filed A+B(PC) into the matrix as a seperate column and include it in the sum of row total. 

 

YearA(PC)A(%)B(PC)B(%)A+B(PC)A+B(%)C(PC)C(%)TotalTotal %
200086,697,41713,98872,1122100
200155,31515,82021,15557,995100
20022315,64530,66846,3117,5147100
20036930,03515,210445,2229,6230100
20041413,32221,03634,33331,4105100
2005812,32233,83046,257,765100

 

Thank you for all the advice!!

1 REPLY 1
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Not being clear about the logic of your calculation, I created the following measures as I understand and added them to the Values pane of the matrix.

 

Total = SUM(Category[A(PC)]) + SUM(Category[B(PC)]) + SUM(Category[C(PC)])
Total(%) = [A+B(%)] + [C(%)]

vkkfmsft_0-1653298484858.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.