Jump to content
We've recently updated our Privacy Statement, available here ×

change backcolor in a crosstab cell


signorin

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I've got a report that does this. Essentially, you'd create a style that specifies the color for cells whose value is less than 0, and create a conditional expression (by clicking Add under the Style conditions list on the Add/Modify style window.

 

Here's my expression (it turns a cell red when the cell's value is less than 500):

Code:
$V{OpportunityLineItem1_UnitPrice_Sum}.doubleValue() < 500.0 ? Boolean.TRUE : Boolean.FALSE

I do believe that's it, but I didn't create my report in iReport, so there may be something else you'd need to do.

 

Thanks,

 

Kristen

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