Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to 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