Forum Discussion

elads's avatar
elads
Helper III
7 years ago
Solved

datediff in HH:MM format

Hi,   I have two columns: 1. Start time 2. End time. I want to know the duration of time between the two columns in hour and minute format (HH:MM)  Then I want to display their summary on the "...
  • Anonymous's avatar
    Anonymous
    7 years ago
    Create a calculated column that for each row will store the number of seconds between the two dates. Then take the measure I've shown you and operate on the SUM of the column. So, you should create a measure like [Total Seconds] = SUM ( T[Seconds] ) and then use its value in my measure replacing the part which is responsible for calculating the seconds...

    Best
    Darek