Create parameter with integer.
Create calc as Last ()<(Last Parameter)
Create three sheets and add this filter in all sheets.
show parameter and type 3.
This calc will give last 3 months in view.
Please find the attached screenshot and confirm the output. I am also attaching the workbook as well which is in tableau 9.3
I hope this helps.
Thanks and Regards,
date selector.twbx 323.8 KB