mailtosuganb Posted March 21, 2017 Share Posted March 21, 2017 Current Output:User,msg no,commentsabc,101,xyzabc,102,xxxbac,105,xlx[/code]Expected Output :User,msg no,commentsabc,101,xyzabc,102,xxxabc=2bac,105,xlxbac=1[/code]Please help me to count the number of columns and display the sum as mentioned in the expected output Link to comment Share on other sites More sharing options...
sadakar Posted March 21, 2017 Share Posted March 21, 2017 Create group by band with User . Group by band will have header and footer section. In group footer, drag teh "user" field and drage "user" or "msg" field. When dragging "msg" field the studio engine auto create a variable and ask you for the type of calculation. In your case take count. It should solve your problem. Link to comment Share on other sites More sharing options...
mailtosuganb Posted March 21, 2017 Author Share Posted March 21, 2017 Thanks sadakar, but after dragging the fields the studio engine auto create a variable but didn't ask me for the type of calculation [Jaspersoft ireport designer professional 5.2.0]. Kindly, please advice 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