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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Formula for running total
Hi
For a saved search sublist, I was wanting to calculate a running total
At the moment, the formula is calculated as :
sum/* comment */(CASE WHEN {type}= 'Credit Memo' THEN {fxamount}*-1 WHEN {type}='Payment' then {fxamount}*-1 else {fxamount} end) OVER(PARTITION BY {fxamount} ORDER BY {trandate} asc ROWS BETWEEN 1 PRECEDING AND CURRENT ROW)
This is a modified version of the formula in https://blog.prolecto.com/2015/05/26/solving-the-netsuite-cumulative-saved-search-tally-challenge/
The calculation should be A(-$5,127.85)+B($112,987.80)=C(should be $107,859.95)
Which part of the formula do I need to adjust?
Tagged:
0