Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Avarage time duration

Hello, Im using this:     
                                   Max(${<[TO shipment]>}[Over Date Time]) - Min(${<[TO shipment]>}[Conf.tDate&Time])

to get time duration. Now I would like use result time to get Avarage time for [TO shipment] in my selected data. I tried:

                                   avg (aggr (Max(${<[TO shipment]>}[Over Date Time])-Min(${<[TO shipment]>}[Conf.tDate&Time]),))

but this one dont work. Result in my tab is " - ".

Please, can anybody help me? Sorry, for my english. Thank you for your help.

1 Solution

Accepted Solutions
sunny_talwar

May be this

Avg(Aggr(Max(${<[TO shipment]>}[Over Date Time]) - Min(${<[TO shipment]>}[Conf.tDate&Time]), [TO shipment]))

View solution in original post

2 Replies
sunny_talwar

May be this

Avg(Aggr(Max(${<[TO shipment]>}[Over Date Time]) - Min(${<[TO shipment]>}[Conf.tDate&Time]), [TO shipment]))

Anonymous
Not applicable
Author

Thank you Sunny, it work.