Forum Discussion
Ericwhv
5 years agoHelper II
Sumx with Distinct Value
Hi Everyone 🙂 not sure if anyone could help me currently, i am working on the total weight of below table but you can see some of the File Ref is duplicate, i just need the weight of Distinct Fi...
CNENFRNL
5 years agoCommunity Champion
Hi, Ericwhv , you might want to try this measure
SUMX( DISTINCT( Table1[File Ref] ), CALCULATE( MAX( Table1[Weight] ) ) )
ed185
4 years agoRegular Visitor
Hi,
Does anyone know what is the difference between :
SUMX( DISTINCT( Table1[File Ref] ), CALCULATE( MAX( Table1[Weight] ) ) )and
SUMX( DISTINCT( Table1[File Ref] ), MAX( Table1[Weight] ) )
Both don't lead to the same results in my example.
Thanks.