Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Qlik Launches Open Lakehouse and advanced agentic AI experience in Qlik Answers! | LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikwiz123
Creator III
Creator III

Average of Difference between two Timestamp fields

Hi,

How do I get the Average value of difference between two TimeStamp fields? I am using the below expression but it gives an empty value.

Interval(Avg(Max([Date1])-Max(Date2),'hh:mm:ss'))

But Interval(Max([Date1])-Max(Date2),'hh:mm:ss') gives a value in the text box.

3 Replies
sergio0592
Specialist III
Specialist III

Hi,

And if you try with :

=interval(avg(TOTAL Interval(Max([Date1]) - Max([Date2]),'hh:mm:ss')))

qlikwiz123
Creator III
Creator III
Author

No. Still a blank value

MarcoWedel

what result do you expect this nested aggregation to deliver, based on which data. Can you post an example?