Jump to content
Changes to the Jaspersoft community edition download ×

Сount the specified values


lafut

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

try this:

suppose your cells contains BigDecimal values with $F{VAL} name

create a variable count_zero with this configuration:

class:BigDecimal
calculation type: sum
reset type:Report
increment type:none

variable expression: new BigDecimal($F{VAL}.intValue()==0?1:0)

 

then use the new variable...

 

 

_______________________________
  if it works... KARMA point please!    : )  

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