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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
noman212
Creator III
Creator III

Average Time

How to calculate average time between 2 row?

Please find the attached scenerio....

1 Solution

Accepted Solutions
ecolomer
Master II
Master II

Hi,

First calculate the difference between (use function ABOVEpar example) two dates / hours and transform to minutes

then, you divide by two result (minutes) and then adds obtained minutes the first of the dates / times

View solution in original post

3 Replies
ecolomer
Master II
Master II

Hi,

First calculate the difference between (use function ABOVEpar example) two dates / hours and transform to minutes

then, you divide by two result (minutes) and then adds obtained minutes the first of the dates / times

MarcoWedel

Timestamp(Numavg(timestamp1, previous(timestamp1)))

?

hope this helps

regards

Marco

jyothish8807
Master II
Master II

Hi Noman,

Try this

Timestamp(Numavg(timestamp1, previous(timestamp1)),'MM/DD/YYYY hh:mm:ss')

Regards

KC

Best Regards,
KC