Jump to content
We've recently updated our Privacy Statement, available here ×

Stop sum variable from constantly adding initial value


Ullauri.Byron

Recommended Posts

I have an initial balance field that I use to keep track of subtotals and eventually an ending balance.

these subtotals are equal to:         initial_balance + amount 

I created a variable that does this subtotal calculation:         _subtotal

and created another variable that sums on _subtotal:         subtotal

Tbe issue im having is subtotal is adding the initial balance again for each record.

ex.

initial balance:  20

amount = 10         subtotal = 30

amount = 15         subtotal = 65 .       should be 45....

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...