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

Apply Conditional Style to Field Jaspersoft Studio


therrick_1
Go to solution Solved by therrick_1,

Recommended Posts

Using Jasper Studio 6.1 and have a Style called "RedLetters" with red forecolor, and a Field called "Salary". If Salary is above 50,000 then I want to apply "RedLetters" style. This way anyone making more than 50,000 will show up with red letters in my report. But I can't find anywhere in the "Salary" Field to put the expression "IF Salary > 50000 THEN apply RedLetters Style". Any ideas?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

The Expression doesn't go in the Salary field. Create a generic Style and then create Conditional Styles under it. Conditional Styles are where the expressions and setting the colors goes. In the Salary field, you just set it to use the generic Style you created. See similar post:

http://community.jaspersoft.com/questions/911946/conditional-formatting-studio

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