Re: vMaxMonth variable is not working in Expression.
Then something else is going on. I suggest that you upload a small sample that illustrates the issue (and which does not need contain any sensitive data). Include the expressions you have tried and specify what result(s) you expect.
To upload a qvf file, click 'Use advanced editor'. You can upload a qvf from there,