Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Date Script

Hi All, 

I wanted to understand the below script in master calendar  speciall what is   "IterNo() -1 <= Today()" works (what is -1) ?

AutoGenerate 1 While $(varMinDate) + IterNo() -1 <= Today()

 

Thanks in Advance

Labels (5)
1 Solution

Accepted Solutions
Or
MVP
MVP

The first iteration is iteration #1, so one is typically subtracted to start at 0 (which would be whatever value is in varMinDate), rather than starting at varMinDate + 1.

View solution in original post

1 Reply
Or
MVP
MVP

The first iteration is iteration #1, so one is typically subtracted to start at 0 (which would be whatever value is in varMinDate), rather than starting at varMinDate + 1.