Gregory Jones
06/22/2020, 9:24 PMwhen {cust_date_field} - {today} BETWEEN 0 and 14 then 1 else 0
- question I have is would this be possible using >0 and <=14
in the statement in place of the "between 0 and 14"? I tried and it kept failing - was thinking maybe someone had experience and could share some thoughts as to if I was doing something wrong.George McMullen
06/22/2020, 9:47 PM>0 and <=14
Something more like:
case
when {cust_date_field} - {today} > 0 and
{cust_date_field} - {today} <=14
then 1
else 0
end
George McMullen
06/22/2020, 9:47 PMGregory Jones
06/23/2020, 12:15 PM