Below is the code for my filters in a chart in APEX. Wanted to know if I could put in default values for the date filters, otherwise they are null and wont display anything until a date is inputed. There is a "Date From" and "Date to" value. Ideally I'd like for date to to be the current date and the date from to be from a year ago.
(MODEL = :P9_Model or :P9_Model is null)
AND (Paint_shop = :P9_Select_Shop or :P9_Select_Shop is null)
AND (Color = :P9_COLOR or :P9_COLOR is null)
AND (Department_Code = :P9_DEPARTMENT_CODE or :P9_DEPARTMENT_CODE is null)
AND SCRAP_DATE > :P9_DATE_FROM
AND SCRAP_DATE < :P9_DATE_TO