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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Avg Time

Hello fellow Qlikicians

Looking for an aggr expression within a Text Box to convert seconds into an Avg time in 'D hh:mm' format.  Aggr by Topic.  I've attached a qvw.  The answer should be 0 00:24

Thank you!

1 Solution

Accepted Solutions
sunny_talwar

May be this:

=Interval(Time#(Floor(Avg(Aggr(Sum(Seconds)/Count(Topic)/60, Topic, ID, Seconds))), 'mm'), 'D hh:mm')

View solution in original post

2 Replies
sunny_talwar

May be this:

=Interval(Time#(Floor(Avg(Aggr(Sum(Seconds)/Count(Topic)/60, Topic, ID, Seconds))), 'mm'), 'D hh:mm')

Not applicable
Author

Hi Sunny,

Yes.  Thank you so much!