Ullauri.Byron Posted January 2, 2018 Share Posted January 2, 2018 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: _subtotaland created another variable that sums on _subtotal: subtotalTbe issue im having is subtotal is adding the initial balance again for each record.ex.initial balance: 20amount = 10 subtotal = 30amount = 15 subtotal = 65 . should be 45.... Link to comment Share on other sites More sharing options...
Ullauri.Byron Posted January 4, 2018 Author Share Posted January 4, 2018 Found the answer here.1.) Create a variable (_subtotal) with an expression simillar to: (isFirstRecord) ? initial_balance + amount : amount2.) Create another variable (subtotal) that sums on _subtotal Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now