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

How to show Avg.

Hi All,

I have field [Create Date Time] and [Close Date Time] i need to calculate Avg time for resolution.

( [Close Date Time] - [Create Date Time] ) / Count(Id)


How can i do this on the script level on the model.

Thanks

Bosc

12 Replies
Not applicable
Author

Thanks so if i want this difference in seconds then how can i go for this.

Thanks

Bosc

Not applicable
Author

Please reply jagan on this.

Bosc

jagan
Luminary Alumni
Luminary Alumni

Just give SS instead of DD.


LOAD

*,

Interval( [Close Date Time] - [Create Date Time], 'ss' )  AS DiffDays

FROM DataSource;


Regards,

Jagan.