Forum Discussion
Anonymous
5 years agoNot applicable
Distinct Sum By
1. The above is a denormalized table.
2. The grain of the table is Case Number and Line Number
3. I would like to do a SUM of weight BY distinct values of (Case Number and Line Number) to avoid double counting.
Can someone help me with a DAX formula which can give me the right SUM which is 263 (without double counting 15)
Thanks
Rohit
Anonymous ,
You can use something like:
Measure:
SUMX(SUMMARIZE(TABLE, [CASE NUMBER], [WEIGHT]), [WEIGHT])
1 Reply
- camargos88Community Champion
Anonymous ,
You can use something like:
Measure:
SUMX(SUMMARIZE(TABLE, [CASE NUMBER], [WEIGHT]), [WEIGHT])