Forum Discussion
FlowViz
Helper III
4 years agoHelp 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
Community Champion
4 years agoHi 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 🙂
- FlowViz4 years ago
Helper III
Sorry this did not work:
- TheoC4 years ago
Community 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!