Forum Discussion
bhmiller89
Helper V
8 years agoDuration Calculation across days
I have a data set that shows Job Report Dates. I want to calculate basically someone's shift. For the EndofShift I used the Max Job Report Date/Time and then for the BeginningofShift I used the ...
- 8 years ago
You can just have the EndTime subtract StartTime. The result is calculated in days. To get hours, just multiply by 24.
You can also do it with Power Query.
Or you can write an expression like:
=Duration.Hours(Duration.From([EndTime]-[StartTime]))
Regards,
Greg_Deckler
Community Champion
8 years agoCan you provide some sample data? Specifically, is it a Date/Time column that has the date and the time? What interval are you using for your DATEDIFF?