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

Button Actions with months

Hi,

I've a button that select the last year and the last month, for that I created two actions: one for the last year - selects last year and it has a search string with an expression like this =max({1} AnoExec), then another action, which selects the last month from the last year =max({<AnoExec={$(=Max({1} AnoExec))}>}MesExec). The first one works all right but the second one, for the month doesn't work....

PS: the field that holds the month is MesExec and the months are the months of the year: 1,2,...12

Tks for your attention,

Luis

1 Reply
vgutkovsky
Master II
Master II

Luis,

Try this instead: max({<AnoExec={"=max({1}AnoExec)"}>} MesExec)

Cheers,