pjacobsma_1 Posted January 3 Share Posted January 3 I am creating a Jasper report programmatically using Java code. Everything is working well, except I would like to change how multiple group headers are displayed. I have three groups to summarize financial data: Year, Month, and Category. Currently these are displayed in the report on separate lines like this:YearMonthCategoryI would like these group headers to appear on the same line, like this:Year Month CategoryIs there any way to do this? Link to comment Share on other sites More sharing options...
shreekrishna.shankhwar Posted January 12 Share Posted January 12 Try for Grouping option in report but you need to create a field like concat(year,month,category) and use this field to create single group.Or you can do this by Hiding all the groups band and use only Category Band to display all three FieldsChange Evalution Time as per group Created .I have given 2 solution use which 1 you like . Let me know. Link to comment Share on other sites More sharing options...
pjacobsma_1 Posted January 16 Author Share Posted January 16 Thanks. Unfortunately that won't work for me as I want to get the subtotals for each level of grouping. I tried putting all the groups in the same band, but oddly then I got output that looks like this:Year Month Category 1Year Month Category 1 Category 2 I don't know why Jasper is inserting an extra line with the groups on it. 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