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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date constraint in list box

Hi Everyone,

I am after an elegant way to populate a list of dates as predefined values in an input box, I need to populate this variable with a format of mmm-yyyy as it's needed in the script to limit data loaded on a monthly basis.

I have setup constraints on the input box and predefined values in the drop-down and listed values with a ; to space them, but I'd like this list updated for a financial year basis +1 month.

Anyone have any ideas?

Thanks

Gavin

1 Solution

Accepted Solutions
brenner_martina
Partner - Specialist II
Partner - Specialist II

Hi,

you can fill the variable dynamic by using concat in the script. Look at my example!

View solution in original post

4 Replies
brenner_martina
Partner - Specialist II
Partner - Specialist II

Hi,

you can fill the variable dynamic by using concat in the script. Look at my example!

Not applicable
Author

Hi Martina,

This works well in your example QVW, however when I replicate it in another QVW it doesn't work. Any ideas?

I've posted up a test QVW where it's not working.....

Thanks

Gavin

brenner_martina
Partner - Specialist II
Partner - Specialist II

Hi Gavin,

the seperation sign in our German version is Semicolon (;), in your version use Komma (,).

Not applicable
Author

Thanks, it now works! I've also worked this into an automatic calendar function and it's what I needed!

Thanks again!