Jump to content
We've recently updated our Privacy Statement, available here ×

How to add values from a variable for group-sum


toxy

Recommended Posts

Hi again,

I'll try it again - perhapes someone can help...?

A subreport fills a variable in the main report - this works well, I can print it out correctly at each line(=call of the subreport)

Now I have to add this values for a group-sum... this should be trivial, but I can't manage it.
I created a new variable for this sum and I think it's logical to define it with:

Calculation:   sum
Reset type:    group
Increment type:  column

...and I tried every(?) combination too: Reset type: report/column/page and Incr.type: none/report/group/page... nothing works. So I suppose my logic is basically wrong - that's I'm asking for!

BTW: I'm working with iReports 4.1.1

 

Thanks a lot,

Christof



Post Edited by toxy at 10/04/2011 08:49
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I've found it... so I want to share my learning process :-)

the line with the subreport (see picture in my last posting) is also a group and i put it in the group footer - with the above mentioned "success". Putting it into the header solves the problem...  oh, it's so easy ;-)

 

christof

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...