Jump to content
Changes to the Jaspersoft community edition download ×

I am a newbie want to count the column and print the sum of columns below it in iReport[jrxml]


mailtosuganb

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...