Forum Discussion
Anonymous
8 years agoNot applicable
Sum of Distinct Values
Hello, I am trying to calculate sum of keys for the following table of data Application Data Subject Table Number of Keys App1 Account A 1000 App1 Customer B 500 App1 Asset...
- 8 years ago
Try this measure:
KeyCount = CALCULATE ( SUMX ( SUMMARIZE ( Keys, Keys[Application], Keys[Data Subject], "NumKeys", MAX ( Keys[Number of Keys] ) ), [NumKeys] ) )Hope this helps
David
Vvelarde
Community Champion
8 years agoAnonymous
Hi, try with this:
Sum_DistinctValues =
SUMX (
SUMMARIZE (
Table1;
Table1[Application],
Table1[DataSubject],
Table1[Number of Keys]
),
[Number of Keys]
)
Regards
Victor