Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
AE: YTD Sales Sum anomaly
Morning all
I have a customer account saved search in which I am trying to show the year to date sales. This does not appear to be a standard available field even though it is on the Customer360.
I am therefore using the below on the results page to get this figure
However the amount is always doubled by the Sum function, what is the correct syntax here may I ask?
I tried this but it did not work:
CASE WHEN TO_CHAR({transaction.trandate},’YYYY’)=TO_CHAR({today},’YYYY’) AND {transaction.trandate}<={today} THEN {transaction.amount} ELSE 0 END
Thank you in advance
0