Is your actual workbook have recent data? If so, you could create a calc like this and put it into the filter shelf, and select true
DATETRUNC('month', [Order Date]) >= DATETRUNC('month', DATEADD('month', -[Month], TODAY()))
Where [Month] is your int parameter.
If it isn't, let me know, as this can be a little trickier.