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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
rash_611
Partner - Contributor III
Partner - Contributor III

Master Calender

Hi,

I want to create a master calender where the date range is as below.

Jan 26 to Feb 25 ---- Jan Calender

Feb 26 to Mar 25 ---- Feb Calender

Mar 26 to Apr 25 ---- Mar Calender

Can any one help me on this....

Regards,

Grace

3 Replies
Alejandro_Hernández
Former Employee
Former Employee

is this what you need?

set DateFormat='M/D/YYYY';

Let vStart = date('12/31/2013');

Let vEnd = date('12/31/2014');

Load Month(Date) as MonthName, date(Date+25) as Date ;

Load Date('$(vStart)' + RecNo()) as Date autogenerate '$(vEnd)' - '$(vStart)' ;

Not applicable

i think u can use  MakeDate function

for a Creating date

makedate(1999,2,14) returns 1999-02-14

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this

Let vStart = date('1/26/2014');

Let vEnd = date('4/25/2014');

Calendar:

Load

     If(Date >= Date('1/26/2014') AND Date <= Date('2/25/2014'), 'Jan',

          If(Date >= Date('2/26/2014') AND Date <= Date('3/25/2014'), 'Feb',

          If(Date >= Date('3/26/2014') AND Date <= Date('2/25/2014'), 'Mar', Month(Date))) AS MonthName,

     Date ;

Load

     Date('$(vStart)' + Iterno() - 1) as Date

autogenerate '$(vEnd)' - '$(vStart)' ;

Regards,

Jagan.