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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

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
Champion III
Champion III

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