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!
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?