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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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

Labels (1)
1 Reply
vgutkovsky
Master II
Master II

Luis,

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

Cheers,