hameez7532 Posted August 31, 2021 Share Posted August 31, 2021 I am facing an issue in which I have a column name CLOSING CREDIT whose sums needs to be perform below but unfortunately the sum which is performed is of another column named as RUNNING CREDITOPENING DEBIT =$F{OPENING_DEBIT}=$V{sum_od} OPENING CREDIT=$F{OPENING_CREDIT}=$V{sum_oc} RUNNING DEBIT=$F{RUNNING_DEBIT}=$V{sum_rd} RUNNING CREDIT=$F{RUNNING_CREDIT}=$V{sum_rc} CLOSING DEBIT and CLOSING CREDIT = Last 2 column's values get added and subtracted from the first 4 columns = $V{sum_cd} and $V{sum_cc} this is the setting of $V{sum_cc} ; calculation is sum, reset type is report, increment type is none, and I have one variable expression which doesnot have any link with this issue The issue is that whenever I try to perform sum in the last column, it shows the sum of RUNNING CREDIT instead and same is the issue with CLOSING DEBIT as it shows the sum of RUNNING DEBIT. PLEASE HELP?! Link to comment Share on other sites More sharing options...
luked Posted August 31, 2021 Share Posted August 31, 2021 Morning, without seeing your entire report all I can say is check the order of your variables, as ireport will calculate them in that order. Hope this helps. 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