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.
Hi Power BI,
I have a matrix with a column of%, it seems that the grand total of this column is the sum of the column, how can I do to make the% only at the level of the Grand Total?
For example if I take line 1 the calculation of Gross $ is
Gross $ = (Sales [Sales] -Sales [Gross_Cost]) + (Sales [Sales] * Sales [Customs_Rate]) + (Sales [Sales] * Sales [Cust_Disc])
But the calculation of the grand total for Gross % is not OK,
Gross% = DIVIDE (Sales [Gross $], Sales [Sales], 0)
he should have been
(1343.59 / 1940.20) = 69% and not 793.83%
Probably it’s very simple but I’ve been trying to understand for too long,
Thanks in advance 🙂
Solved! Go to Solution.
It looks like these are calculated columns rather than measures. If so, this is the opposite of what 99% of people complain about powerbi totals (The values are being added up).
If Gross% is written as a measure, I think you'll get what you want. Obviously I can't see your source data so that's a semi-educated guess.
Hi @John_Peter ,
Use the following measure :
Gross %=DIVIDE (SUM(Sales [Gross $]), SUM(Sales [Sales]), 0)
It looks like these are calculated columns rather than measures. If so, this is the opposite of what 99% of people complain about powerbi totals (The values are being added up).
If Gross% is written as a measure, I think you'll get what you want. Obviously I can't see your source data so that's a semi-educated guess.
I am having the same issue. However, I am using a measure. Do i have to make it a calculated column? Below is my Measure.
Hi @dkresge
My Percentage is a Measure
John,
Did you get a resolution so your total as a sum and not calculating correctly?
Thanks,
Then i will change the column to a Calculated columns 😀
Hi @John_Peter ,
Is your issue solved?Can you make it as answered to close it?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
99 | |
82 | |
70 | |
63 |
User | Count |
---|---|
145 | |
111 | |
104 | |
84 | |
64 |