Forum Discussion
Total wrong in columns
- 2 years ago
To solve this, you can use a different approach to calculate the totals correctly. One common method is to use a SUMX function that iterates over each row and sums up the distinct counts individually.
Here's an adjusted measure to get the correct total:
Error column =
SUMX(
SUMMARIZE(
Sanctions,
Sanctions[Userid],
"DistinctCount", DISTINCTCOUNT(Sanctions[Userid])
),
[DistinctCount]
)
To solve this, you can use a different approach to calculate the totals correctly. One common method is to use a SUMX function that iterates over each row and sums up the distinct counts individually.
Here's an adjusted measure to get the correct total:
Error column =
SUMX(
SUMMARIZE(
Sanctions,
Sanctions[Userid],
"DistinctCount", DISTINCTCOUNT(Sanctions[Userid])
),
[DistinctCount]
)