Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Highlighted
Not applicable

Calendar - date range selection

Dear Community,

I would like to use calendar for date range selection purpose.

Example:

However, the condition is we don't have data for every day, only 1st of every month has data,

so if user clicks at 2nd, or 11st or 28th..., the data will not be reflected.

Can QlikView auto select 1st of month? no matter which date user click on that month.

Thanks,

Chanel

1 Solution

Accepted Solutions
MVP & Luminary
MVP & Luminary

Re: Calendar - date range selection

Hi,

Create another variable and use this variable in your set analysis

vMonthEndDate =MonthEnd(vEndDate)

Regards,

Jagan.

5 Replies
MVP & Luminary
MVP & Luminary

Re: Calendar - date range selection

Hi,

In the set analysis expression or variable you just set to MonthStart(vToDate), this will work.  Even if you do not set to Monthstart also in set analysis we will use >= and <=.

Regards,

Jagan.

Not applicable

Re: Calendar - date range selection

Thanks Jagan for prompt response.

I am unable to change the variable in calendar to MonthStart().

I have attached the document, appreciate if you could help to modify.

Thanks,

Chanel

MVP & Luminary
MVP & Luminary

Re: Calendar - date range selection

Hi,

Create another variable and use this variable in your set analysis

vMonthEndDate =MonthEnd(vEndDate)

Regards,

Jagan.

Not applicable

Re: Re: Calendar - date range selection

Thanks for your help, I got it!

Anyone has the same problem can refer to the attached document.

Not applicable

Re: Calendar - date range selection

I am also quite new in Qlik calendar, I ever reckon that the calendar date select must be very similar to some UI calendar control, I did the investigation but got no information useful. Fortunately, the attachment here helps.