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

Sum (%) column in MATRIX PREVIEW

I want to calculate profitability
A. Sale
B. Cost
C. Profit = (A-B)
S.% Profit  = ( A-B ) / A 

 

I would have expected the summary to be the same,
but rather that it sums up instead of calculating a percentage.

Especially in collaps up situation 

I have tried also this  Show Values As => Percent of Row Total  and all others 

 

Thanks

 

percent.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello cs_skit

 

This is did not help (?) 

 

But it did solve the problem

 

Average CUSTNAME = AVERAGEX(KEEPFILTERS(VALUES('INV-AMI'[CUSTNAME])),CALCULATE(AVERAGE('INV-AMI'[profit%]))

 

I donwt know why...

Still, I learned a lot

Thanks 

View solution in original post

2 REPLIES 2
cs_skit
Resolver IV
Resolver IV

for profit and percentage do measures instead of calculated columns then it works:

Anonymous
Not applicable

Hello cs_skit

 

This is did not help (?) 

 

But it did solve the problem

 

Average CUSTNAME = AVERAGEX(KEEPFILTERS(VALUES('INV-AMI'[CUSTNAME])),CALCULATE(AVERAGE('INV-AMI'[profit%]))

 

I donwt know why...

Still, I learned a lot

Thanks 

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.

Top Solution Authors