lafut Posted April 6, 2010 Share Posted April 6, 2010 Hello!I have cell with values 0 or 1. In group footer I need count only cells with value 0. How I can do it? Link to comment Share on other sites More sharing options...
slow Posted April 6, 2010 Share Posted April 6, 2010 try this:suppose your cells contains BigDecimal values with $F{VAL} namecreate a variable count_zero with this configuration:class:BigDecimalcalculation type: sumreset type:Reportincrement type:nonevariable 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 More sharing options...
lafut Posted April 6, 2010 Author Share Posted April 6, 2010 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now