Jump to content
Changes to the Jaspersoft community edition download ×

Counting Variable meeting criteria


Recommended Posts

I am wanting to get a variable that will only count if the "counted" field meets a certain criteria.


The field I want to count has three possibilities (a, b, c). I have created three variables to count each one of them separately.



In the variable expression box, I have put:

new Boolean(




The result I get back is a count of everything in the group.

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