Hi Community! I'm attempting to automate a report that I own that I execute on a weekly basis. The database from which I'm pulling data is a 'To Date' table where I have to manually adjust an 'Activity End Dt' each week to pull back the most recent week's data:
WHERE "TO_DATE_AGG_DOOR_PY"."CURRENT_YEAR_ACTIVITY_END_DT" = to_date ('2025-05-17', 'YYYY-MM-DD') AND
"TO_DATE_AGG_DOOR_PY"."CURRENT_YEAR_ACTIVITY_END_DT" = to_date ('2025-05-17', 'YYYY-MM-DD')I'm needing help how I can utilize the Dynamic Input Tool to automatically add 7 days to the last date I manually entered in the SQL above (i.e. automatically adjust to 5/24/2025 next week, 5/31 the week after etc) so that I don't have to dip into the SQL each and every week...
Thanks in advance!!