Jump to content
Changes to the Jaspersoft community edition download ×

supress group header based on the sum of the group


gabmed

Recommended Posts

Hi,

 

My report has a group.

I created a variable to summarize a DB field and put it on the group header as a textfield with de evaluation time to group. Good, That works fine.

 

Now my problem is: I want to suppress the groupHeader if the sum is zero(0) but I can only refer to the variable and it always come with the value zero.

Is there a way to do it? Is there a way to refer to the that textfield which has the sum?

 

Thank you a lot!

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

It SHOWS the correct sum.

But that is the textfield evaluation time, not the variable´s evaluation time.

 

One thing is to SHOW the correct result, the other is how to get that (knowing that it is being shown in a text field) to put that in the "print when expression".

 

Thank you anyway.

;)

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