We have tried to use the function in the filter criteria. We can able to see the last 12 months records but the problem here is all the time report will fetch records for last 12 months. There is a requirement that users should be able to select the records before to the 12 months also in the report view.
Check the User action settings in the Report Viewer tab of the Report Definition ruleform. You can set the filter condition to be displayed, and also to prompt the user before running the report if you want to: