Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to sum duration

Hi,

I have duration datas, with this format : 02:15:45 means 2 hours, 15 minutes and 45 seconds.

I have to calculate sum and average duration and show it with the same format.

I can't find any function easy to use. Did I miss something ?

Thanks,

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Sum(Duration) should work, the "trick" if there's a trick is to go to the Number Tab of the chart properties and make sure that the expression is set to show in a Time Format.

I put a small example on here.

Cheers,

Nigel.

View solution in original post

4 Replies
Not applicable
Author

Hi,

Sum(Duration) should work, the "trick" if there's a trick is to go to the Number Tab of the chart properties and make sure that the expression is set to show in a Time Format.

I put a small example on here.

Cheers,

Nigel.

Not applicable
Author

Oups, thanks, and sorry for that...

Not applicable
Author

Hi there,

But how to show it when the result is greater than 24:00:00.

Best Regards,

Javier Pozo

Not applicable
Author

Hello,

I Just found the answer here: http://community.qlik.com/forums/p/26332/100842.aspx#100842

I have to use: interval(Sum(Duration),'hh:mm')

Best Regards,

Javier Pozo