Forum Discussion
FlowViz
4 years agoHelper III
Help calculating timestamp differences
Hi folks, I have a table like so: I'm trying to calculate a couple of things: 1) How would I calculate the total time in each ColumnName for each WorkItemId? For example for WorkIt...
- 4 years ago
TheoC
4 years agoCommunity Champion
Hi FlowViz
You should be able to use the following:
Sum by Category = CALCULATE ( SUM ( 'Table'[Revision] ) , FILTER ( ALLSELECTED ( 'Table' ) , [ColumnName] = MAX ( 'Table'[ColumnName] ) ) )
Please adjust the Table name to your table name.
All the best.
Theo 🙂
FlowViz
4 years agoHelper III
Sorry this did not work:
- TheoC4 years agoCommunity Champion
Apologies on that FlowViz . Thank you for letting me know. Have since modified but I am glad that Ashish_Mathur could provide a great solution!