Forum Discussion
Anonymous
9 years agoNot 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 calcula...
- Anonymous9 years ago
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
cs_skit
9 years agoResolver IV
for profit and percentage do measures instead of calculated columns then it works:

- Anonymous9 years agoNot 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