Forum Discussion
AtchayaP
Helper V
4 years agoDAX
I have 2categories like male and female I have 4columns(date created, date closed, time created, time closed.
- 4 years ago
Hi AtchayaP ,
I would suggest to first calculate the duration for each of your rows in a new calculated column. After you can drag that new column into a visual with the type column or you create a dedicated measure for it.
Hope this helps!
/Tom
- 4 years ago
Hi AtchayaP
You could use a measure like this to give you total time spent.
Time Spent = SUMX( 'Table', DATEDIFF( 'Table'[date created] + 'Table'[time created], 'Table'[date closed] + 'Table'[time closed], MINUTE ) )Visualised in a pie chart by type, for example, would give you
tackytechtom
Most Valuable Professional
4 years agoHi AtchayaP ,
I would suggest to first calculate the duration for each of your rows in a new calculated column. After you can drag that new column into a visual with the type column or you create a dedicated measure for it.
Hope this helps!
/Tom