The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
Solved! Go to 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
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