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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
shaya
Helper I
Helper I

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

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:

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.