Hello i have a problem with this formula : CASE WH...
# general
m
Hello i have a problem with this formula : CASE WHEN TO_CHAR({trandate}+75, 'Day') ='Tuesday' THEN '1' END i dont understand why i have not a result but i have a result for TO_CHAR({trandate}+75, 'Day' . It's working only for CASE WHEN TO_CHAR({trandate}+75, 'Day') ='Wednesday' THEN '1' END
s
There's no Else to return a result when not Tuesday.
✔️ 1
m
message has been deleted
There is no Else to return a result when it's not tuesday : I don't need to return another value because when it's tuesday I must have a result in my saved search but for a reason I don't know it only works when the day is wednesday
s
It wasn't clear what you were wanting and the data you were working with (if you didn't have any transactions that were 75 days from a Tuesday that is why no results, is how I read it). It works if you say LIKE 'TUESDAY%' so there must be something weird about that word.