I am struggling with a formula to have a columns c...
# suiteanalytics
t
I am struggling with a formula to have a columns count for yesterday, MTD, YTD any help would be great
g
Could be a good starting point
t
thank you
g
Hope it helps!
t
It got me MTD to date and YTD now just need yesterday thanks
g
TRUNC({today})-1
t
CASE WHEN {trandate} IS to_date(TRUNC({today}, -1) THEN ELSE 0 END where am off?
g
Is it erroring, or just not returning the right results? Try with TRUNC({trandate})
t
giving me 1
on every user
g
even with the TRUNC() around trandate?
a
What is the value you are putting after THEN? i.e. when {trandate} = to_date(TRUNC({today}, -1)