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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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