amol28kulkarni Posted July 12, 2014 Share Posted July 12, 2014 I am new to Jasper reporting and I have a scenario where a result set returned from table is like:- FirstName LastName StreamJohn Taylor MSITJohn Taylor MSMechI am using Jasper studio and sql to retrieve results and fields.On Generation of the report. I see the report likeFirstName:JohnLastName:TaylorStream:MSITFirstName:JohnLastName:TaylorStream:MSMech but what I expect instead is something likeFirstName:JohnLastName:TaylorStream:MSITMSMechHow can I achieve this? do I need to modify the query or is there any provision in Jasper to merge the common records to one ?Do I need to write a custom class. From what I have heard from the team is Pentaho did this automatically but we want to use jasper and are trying to migrate to jasper.Please help and let us know the best possible solution .Thanks Link to comment Share on other sites More sharing options...
rajesh.sirsikar Posted July 13, 2014 Share Posted July 13, 2014 Its simple...Create a Group on the First Name field...I created a CSV file with the example you provided above and created a report. Check it.Rajesh Sirsikar(www.rajeshsirsikar.com) 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