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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Margaret
Creator II
Creator II

interval/subtraction and set analysis

How can I combine this:

=avg(interval(AuditDateTime2-AuditDateTime1,'d hh:mm'))

with

<Event2={'Confirmed'}>

?

I don't know if it matters that AuditDateTime2, AuditDateTime1 and Event2 are all in the same table.


Thanks!!


Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this:

=Avg({<Event2={'Confirmed'}>} Interval(AuditDateTime2-AuditDateTime1,'d hh:mm'))

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

May be this:

=Avg({<Event2={'Confirmed'}>} Interval(AuditDateTime2-AuditDateTime1,'d hh:mm'))

Margaret
Creator II
Creator II
Author

I had no idea it was that easy! Thank you again!!!!!!1