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