ppachuru Posted July 24, 2014 Share Posted July 24, 2014 Thanks for your reply .I mentioned as list componenent and i am using dataset to get the elements from javaBeanDataSource.sbut answer have only sum of colunms and not suit for list and dataset. can you please more elabaratei need to make the dataset veriable as global veriable then only i can do this but how can get the visibility of a veriable in dataset to global veriable. ThanksPPrasad P. Link to comment Share on other sites More sharing options...
Solution matteusbarbosa2 Posted July 25, 2014 Solution Share Posted July 25, 2014 Create a new Variable with a intuitive name, and edit its params to be like this, considering that your retrieved column is called "value", and it's type is "java.math.BigDecimal":Variable Class: java.math.BigDecimal,Calculation: Sum,Reset Type: Report,Variable Expression: $F{value},Initial Value Expression: 0 (or whatever default value you need).A screen is attached to help you guys. Hope that it helped. Link to comment Share on other sites More sharing options...
ppachuru Posted July 30, 2014 Author Share Posted July 30, 2014 I am using list component so veriable should be in list 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