Forum Discussion
marijane
Helper I
5 years agoSum only once per distinct id
Hi everyone, I want to sum hours only once per id using dax. For example, in this table above the expected result of the measure will be 89 : 27(id1) + 30(id2) +30(id3) + 2(id4) The summarize f...
- 5 years ago
marijane , summarize or values are the options you can use
Try values with sumx
sumx(Values(Table[ID]), calculate(max(Table[Hour])))
amitchandak
Super User
5 years agomarijane , summarize or values are the options you can use
Try values with sumx
sumx(Values(Table[ID]), calculate(max(Table[Hour])))
ilanapregen
3 years agoRegular Visitor
i love you.