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.
Search Formula : Last 12 Months of Revenue
I am trying to create an Invoice Saved Search that will display the total revenue for customers within the last 12 months, when Summary Type is 'Sum'. I have been able to display this successfully however my formula is not dynamic, where I am calling out specific dates:
CASE WHEN {trandate} BETWEEN to_date('9/1/2011', 'MM/DD/YYYY') AND to_date('8/31/2012', 'MM/DD/YYYY') THEN {quantity}*{effectiverate} ELSE 0 END
Does anyone know what the formula structure would be to allow it to dynamically report for the last 12 months, based on {today}?
0