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

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

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.