george.cristian Posted January 9, 2017 Share Posted January 9, 2017 I have a structure like this:Category 1 - NameCategory 2 - NameCategory 3 - NameIngredient 1 - PriceIngredient 2 - PriceCategory 3 - Total ValueCategory 2 - Total ValueCategory 1 - Total Value How I defined it, it doesn't print Category 1 - Name and Category 1 - Total Value, because I can't figure out how to print in a recursive manner. In my jrxml I ahve defined 4 fields for the categories: category_name, category_value, imbricated_category_name and imbricated_category_value. Link to comment Share on other sites More sharing options...
szaharia Posted January 31, 2017 Share Posted January 31, 2017 Hi,In this case you should use data grouping. Create a group for each category type, each group having header and footer. Print the category name in group header, and use report variables to print total values in group footers.More information about data grouping is available here.Regards,Sanda 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