what would be the criteria to see all sales made o...
# administration
t
what would be the criteria to see all sales made on sundays within last year? we are deciding if its worth keeping our showroom open on sundays.
m
Use a formula text in your criteria TO_CHAR({trandate}, ‘Day’) contains Sunday
t
much appreciated
if possible would you mind telling me what's wrong with this formula? i keep getting an error
CASE WHEN TO_DATE(NVL({custbody_cdi_asr_delay_process},TO_DATE('8/28/1998'))) < {today} THEN 1 ELSE 0 END
m
What is your formula type
t
formula numeric should it be date?
m
Try using decode instead of NVL
🙌 1
TO_DATE(DECODE({custbody_cdi_asr_delay_process}, NULL, ‘8/28/1998’, {custbody_cdi_asr_delay_process})) < {today}
Also what is your field type of your delay process field
t
Thank you i got it to work!
m
No problem. Always happy to help