Hi All,
Currently trying to create date range, but receiving this error message below when trying to run the script
Error running query: Missing parameter value for: date_range.start, date_range.end
Here’s my code below
SELECT
first_name AS “ First Name ”,
last_name AS “ Last Name ”,
email AS “ Email ID ”,
status AS “ Status ”,
status_reasons AS “ Closure Reasons ”,
status_updated_at
FROM
users
WHERE
status = ‘ closed ’
OR status = ‘ paused ’
AND users.status_updated_at date >= ’ {{ date_range.start }} ’
AND users.status_updated_at date <= ’ {{ date_range.end }} ’