Forum Discussion
Anonymous
6 years agoNot applicable
Remove deplicate rows based on lowest number
I am struggling to get this working. This is a small portion of my dataset. My dataset only contains TicketId, CommentId (not shown here, not really important), and CommentDuration. CommentDuration ...
- 6 years ago
Hi Anonymous
Kindly check below results:
Measure = var a = CALCULATE(MIN('Table (2)'[CommentDuration]),ALLEXCEPT('Table (2)','Table (2)'[Ticketid])) return IF(MAX('Table (2)'[CommentDuration])=a,a,BLANK())
amitchandak
6 years agoSuper User
Anonymous , Try a measure like these
sumx(summarize(table, table[TicketId],"_1",min(CommentDuration )),[_1])
or
sumx(values(table[TicketId]),min(CommentDuration ))