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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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.