Forum Discussion

Ericwhv's avatar
Ericwhv
Helper II
5 years ago
Solved

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's avatar
    5 years ago

    Hi, Ericwhv , you might want to try this measure

    SUMX( DISTINCT( Table1[File Ref] ), CALCULATE( MAX( Table1[Weight] ) ) )