- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Any idea on why the average on the Graph is different from the Card?
Hi guys,
Any idea on why is the sum of the percentages in the Graph different from the sum of the Card?
5,20 + 8,20 + 7,95 + 7,00 + 7,45 + 6,16 + 4,69 = 46,65% at total or 46,65 / 7 = 6,66% on average.
But in the Card...
The average also not the same...
The DAX measure:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi, here's the DAX measure that solves the problem:
Turnover = SUMX(
What was the problem? When filtering more than one month in the analysis, Power BI was calculating the turnover based on the grand total of all months filtered. What this measure does, is that it sum the percentages for every month, row by row, not by the total.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi, here's the DAX measure that solves the problem:
Turnover = SUMX(
What was the problem? When filtering more than one month in the analysis, Power BI was calculating the turnover based on the grand total of all months filtered. What this measure does, is that it sum the percentages for every month, row by row, not by the total.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Can you share somedata ?
Proud to be a Power BI Super User !
Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I've done the same calculation in a new file and the number were correct. So maybe the problem is inside my PBI. I've tried everything, from changing the measure, deleting all others visuals, removing page and report filters...
The grand total always results in a number different from the sum of the percentages.
What's confusing is that the measure isn't all that complicated, and for all the tests made, the numbers of headcount and the numbers of admissions and resigns results in the correct percentage for the month.
As always, these calculated results are a nightmare of every analyst that uses PBI.
Data Sample:
MonthNo | Month | Turnover | Admissions | Resigns | Headcount without absence | Headcount Beggining of the Month |
1 | January | 5,20% | 235 | 254 | 4695 | 4698 |
2 | February | 8,20% | 450 | 328 | 4776 | 4704 |
3 | March | 7,95% | 431 | 336 | 4847 | 4800 |
4 | April | 7,00% | 342 | 335 | 4826 | 4841 |
5 | May | 7,45% | 393 | 328 | 4871 | 4808 |
6 | June | 6,16% | 319 | 281 | 4887 | 4856 |
7 | July | 4,79% | 244 | 227 | 4916 | 4911 |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi,
Share the download link of the PBI file.
Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

You can try the following measures.
Sum_Rotatividade =
SUMX ( ALLSELECTED ( table ), [Rotatividade Geral] )
Average_Rotatividade =
DIVIDE (
[Sum_Rotatividade],
CALCULATE ( DISTINCTCOUNT ( table[Month] ), ALLSELECTED ( table ) )
)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
11-20-2024 04:07 PM | |||
06-27-2024 01:23 PM | |||
12-17-2024 08:30 PM | |||
09-13-2024 02:42 AM | |||
09-05-2024 01:50 PM |
User | Count |
---|---|
141 | |
110 | |
81 | |
61 | |
46 |