Can anyone help me write the code for a custom parameter for a report? I'd like to add an option to the dropdown list that is the following date:
Specific date in the past (2021-01-01, for example) until a date 7 days prior to the date the report is being run.
Example:
If I run the report on 2021-07-22, it should run for the following dates 2021-01-01 through 2021-07-15.
Is this even possible? I'm not an experienced user but attempting to edit some reports that were previously created. Any help is greatly appreciated!



