it doesnt work because i have orders on my table until "sep", and calendar table (which MonthNum is a part of) contains dates until the end of the year.
there is another way without manipulating the date on "orders" table.
Maybe something like month(today()) - 1 in the set analysis. You might need an "=" before the "$", I'm not sure. I'm not a QV expert, but it's worth a shot.