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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
kevbrown
Creator II
Creator II

Calendar

I have 2 dates in the same table that I want to link to my calendar, can I do this?  I have a leavers table and I have start date and leave date. In the front end I would like to able to select a date and see how many people left on this date as well as started

Do I need to change my calendar?

LET vDateMin=num(makedate(2011,01,01));

LET vDateMax=floor(monthend(today()));

LET vDateToday = num(today());





Calender:

LOAD Distinct Date($(vDateMin) + RowNo() - 1,'DD-MMM-YYYY') AS Date,

Day(Date($(vDateMin) + RowNo() - 1,'DD-MMM-YYYY')) AS Day,

month(Date($(vDateMin) + RowNo() - 1,'DD-MMM-YYYY')) AS Month,

year(Date($(vDateMin) + RowNo() - 1,'DD-MMM-YYYY')) AS Year,

monthname(Date($(vDateMin) + RowNo() - 1,'DD-MMM-YYYY')) AS Monthname,

Week(Date($(vDateMin) + RowNo() - 1,'DD-MMM-YYYY')) AS Week



AutoGenerate 1 While $(vDateMin) + IterNo() - 1 <=$(vDateMax);

Labels (1)
1 Solution

Accepted Solutions
trdandamudi
Master II
Master II

The below link should help you to resolve your issue...

Two different Dates

View solution in original post

2 Replies
trdandamudi
Master II
Master II

The below link should help you to resolve your issue...

Two different Dates

MK_QSL
MVP
MVP