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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to generate dates

Hi,

I have created the following calendar in my script in order to look at each cover day for each policy. I now need to calculate the date for each policy date by adding one to each date up to 365 i.e. if a policy starts on 2/12/2014 I want this to be marked as coverday 1, 3/12/2014 to be coverday 2 etc. I am struggling to get this to work. Does anyone have any ideas?

2 Replies
prieper
Master II
Master II

From which date you wish to calculate?

Why not using a straightforward formula:

MyDate - StartDate + 1 = coverday

(plus probably adding some formula to detect the expiry of the policy)

HTH Peter

Not applicable
Author

Thanks Peter, this is something similar to the solution I have found.