By using this website, you agree to our Terms of Use (click here)
Whenever I run a report, I want it to run to the previous month. Not sure what formula to use in the report designer
What report are you using? Is it an out-of-the-box report?
Try adding a DateAdd function to the StartDate and EndDate parameters.
For StartDate, put this in the Default value field:
=DateAdd(DateAdd(Report.GetDefExt('AccessInfo.BusinessDate'), 'd', -(Day(Report.GetDefExt('AccessInfo.BusinessDate')) - 1)),'m',-1)
For EndDate, put this in the Default value field:
=DateAdd(Report.GetDefExt('AccessInfo.BusinessDate'),'m',-1)


