Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
villafuerte
Partner Ambassador
Partner Ambassador

Autogenerate Calendar

Hi,

I want to autogenerate a calendar that goes from the first day of 2010 to today.

I have this:

LOAD

date(date#(20091231,'YYYYMMDD')+recno(),'MM/DD/YY') as "Date"

AUTOGENERATE today();



The problem is that I don't know how to stop creating dates, I only want from 1-Jan-2010 to today.

Hope you can help!!!

1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

AUTOGENERATE today() - MakeDate(2010, 1, 1) + 1

-Rob