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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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!

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

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
MVP
MVP

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!