Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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!