deepskansal Posted February 11, 2009 Share Posted February 11, 2009 hi all,i am using a variable to count the no. of employees where employee id is greater than 200.then how to write this in variable expression as "condition?count(emp):nothing" Link to comment Share on other sites More sharing options...
swood Posted February 23, 2009 Share Posted February 23, 2009 This is a JasperReports question, but I will give it a shot. Make the variable a sum (calculation="Sum") and make the variableExpression be: <variableExpression>$F{EmployeeId} > 200 ? 1 : 0</variableExpression> ShermanJaspersoft Link to comment Share on other sites More sharing options...
deepskansal Posted February 24, 2009 Author Share Posted February 24, 2009 Thanks for the reply Sherman. 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