Skip to main content
9 Antworten
  1. 30. Jan. 2023, 14:42

    You'll need to aggregate the duration of time first:

     

    Seconds

    SUM(DATEDIFF('second',[Start time],[Complete Time]))

    Then we use Jonathan Drummey's calculation for the final result, with the aforementioned calc:

     

    dd:hh:mm:ss

    //replace [Seconds] with whatever field has the number of seconds in it

    //and use a custom number format of 00:00:00:00 (drop the first 0 to get rid of leading 0's for days)

    IIF([Seconds] % 60 == 60,0,[Seconds] % 60)// seconds

    + IIF(INT([Seconds]/60) %60 == 60, 0, INT([Seconds]/60) %60) * 100 //minutes

    + IIF(INT([Seconds]/3600) % 24 == 0, 0, INT([Seconds]/3600) % 24) * 10000 //hours

    + INT([Seconds]/86400) * 1000000 // days

    Which returns the following:

    You'll need to aggregate the duration of time first: SecondsSUM(DATEDIFF('second',[Start time],[Complete Time]))Then we use Jonathan Drummey's calculation for the final result, with the aforementioned

0/9000