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: 
danosoft
Specialist
Specialist

Select multiple months in a field

immagine.png

I have a field with the months  like you see in the picture

I want  when clik to the my sheet, automatically select all month previous to the current date (and the actual month too)

Example:

Now i want  to select month 01,02,03,04

thanks

1 Solution

Accepted Solutions
rubenmarin

Hi, sorry I read it too fast, i thought you wanted to select all months previous to the one clicked.

To select all months previous or equal to current month you can use: ='<=' &Num(Month(Today()))

View solution in original post

3 Replies
rubenmarin

Hi, you can try with triggers. In document properties -> triggers -> Field events -> select month field name -> add On select action.

Add a new Select on field action filling Name with the field name and Value With ='<=' &Max(MonthFieldName)

danosoft
Specialist
Specialist
Author

immagine.png

Hi, thanks you , but as you see, when i come inside my sheet it selected all months, not only

01,02,03,04

like i expect

rubenmarin

Hi, sorry I read it too fast, i thought you wanted to select all months previous to the one clicked.

To select all months previous or equal to current month you can use: ='<=' &Num(Month(Today()))