The numbers that the OP mentioned, back in post 5, don't appear to be dates rather a numerical expression of YYYYMM.
I had previously come up with an IIF version of the expression.
IIF(Right(DMax("[MyField]", "[MyTable]"), 2) < "06", DMax("[MyField]", "[MyTable]") - 95, DMax("[MyField]"...