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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

difference between current date and next occurance date

Hi All,

Please find an attachment.QlikTech Admin

I want to take difference between date and next date of occurance.

For EX:  I am having ABC functional location and in that different notification nos. are there so for that one notification no's date minus

             next date of that function location during the month * 24. so how to handle it in script.

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

It's unclear to me which date difference should be calculated. Can you give some examples?


talk is cheap, supply exceeds demand
shane_spencer
Specialist
Specialist

I use Interval for this. i.e.

 

interval ( EndDateTime - StartDateTime, 'mm') as Duration,

Perhaps with the data you have you need to combine this with Previous of Peek function?