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

Select multiples month in a field

I have a field with the months  and a buton.

I want  when clik the button, automaticly select all month posible previos to the current date

Example:

In May i want  to select month 1,2,3,4,5

in august i want to select month 1,2,3,4,5,6,7,8

thanks

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Hi,

Set an "Select in Field" action on the button with

field Month and expression (literally as in below line):

='=Month <= month(today())'

Stefan

P.S.

You may want to first use a "Select in field" action with empty search string and then second the above to clear existing selections first from Month field.

edited by swuehl

View solution in original post

1 Reply
swuehl
MVP
MVP

Hi,

Set an "Select in Field" action on the button with

field Month and expression (literally as in below line):

='=Month <= month(today())'

Stefan

P.S.

You may want to first use a "Select in field" action with empty search string and then second the above to clear existing selections first from Month field.

edited by swuehl