Trying to replace a legacy data warehouse job that uses a "Previous Month" time range with a query in AEP. I can get the correct data back from my query if I manually set the start/end dates, but I can't generate working SQL for the rolling previous month time range so I can automate the job. Chat...