Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Make your voice heard! Participate in the 2020 Wisdom of Crowds® Survey. BEGIN SURVEY
bvssudhakar
Contributor II

How to limit the years in hierarchy calendar list box

Hi Experts,

I have Hierarchy calendar list box. In the list box i have the years from 1900 but i want to limit the years in my list box.

I want to show the hierarchy years from 2005 only

Can you guys please suggest how to do that

Thank you in advance

1 Solution

Accepted Solutions
Highlighted
Frank_Hartmann
Honored Contributor II

Re: How to limit the years in hierarchy calendar list box

In script in Main3 Tab change this:

let vMinDate = Floor(YearStart(Peek('MinDate',-1,'Temp')));

to:

let vMinDate = Num(MakeDate(2005,1,1));

View solution in original post

5 Replies
Highlighted
bvssudhakar
Contributor II

Re: How to limit the years in hierarchy calendar list box

franky_h79

Can you please look for this

Highlighted
Frank_Hartmann
Honored Contributor II

Re: How to limit the years in hierarchy calendar list box

can you attach your qvw?

Highlighted
bvssudhakar
Contributor II

Re: How to limit the years in hierarchy calendar list box

Hi Frank,

Here i am attaching my qvw. Please find it give the possible solution

Thank you in advance

Highlighted
Frank_Hartmann
Honored Contributor II

Re: How to limit the years in hierarchy calendar list box

In script in Main3 Tab change this:

let vMinDate = Floor(YearStart(Peek('MinDate',-1,'Temp')));

to:

let vMinDate = Num(MakeDate(2005,1,1));

View solution in original post

Highlighted
bvssudhakar
Contributor II

Re: How to limit the years in hierarchy calendar list box

Hi Frank,

Thank you very much for the solution. It's working.

If you have time please check whole script and expressions. and please give your inputs and suggestions

Thank you