Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
vireshkolagimat
Creator III
Creator III

Master calendar

Hi All,

Can somebody please help to understand the below script.

LOAD DISTINCT

Date($(vStartDate) + IterNo() - 1)   as StockDate

AUTOGENERATE (1)

WHILE $(vStartDate) + IterNo() - 1 <= $(vEndDate);

What is the use of IterNo() and AUTOGENERATE (1). I also read that IterNo() can be used with only while loop, if so why?

Can i give some other number in autogenerate function? If not, why?

thank you.

Regards,

Viresh

3 Replies
Anil_Babu_Samineni

Number of threads are opened related this same question, Just gone thru those and ask

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vireshkolagimat
Creator III
Creator III
Author

ok i will check.

its_anandrjs

You can learn this from the Qlik Community

Some are here

Iterno() working with while

Best explain by HIC

Calendars

Regards

Anand