Discussion Board for collaboration related to QlikView App Development.
Hi there ,
I need the diff of two dates with where clause, pick the date when Triage category is 2,3 ?
Is this correct set analysis expression ?
Interval({<Triage Category ={2,3}>} KPIStartTime - ({<Triage Category ={2,3}>} FirstSeenTime,'mm')
I will move this to the App Development thread instead. I think you will get more answers there.
try once
Interval(
Aggr(Only({<Triage Category ={2,3}>} KPIStartTime),KPIStartTime) -
Aggr(Only({<Triage Category ={2,3}>} FirstSeenTime),FirstSeenTime) , 'mm')
Interval() does not take set expressions as it is no aggregation function.
Depending on your data and where you apply the expression maybe one of these could work for you:
Only({<Triage Category ={2,3}>} Interval(KPIStartTime - FirstSeenTime,'mm'))
Interval(Sum({<Triage Category ={2,3}>} KPIStartTime - FirstSeenTime),'mm')
see also:
hope this helps
Marco