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

luked

Members
  • Posts

    49
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by luked

  1. Hi there,

    Sounds like you need to create a variable, below is the link to the Wiki -

    https://community.jaspersoft.com/wiki/variables

    When you crate the variable you can have the option in the Calculation field to have count or sum etc.

    So for example you can create a variable with the Expression -

    Boolean.valueOf($F{your field goes here}.contains ("closed") ? 1 : 0

    This will give your field a value of 1 if it contains closed. Its hard to give an indepth example with what information you have given but hopefully this can point you in the right direction.

  2. Try the below,

    What it does is when the st_ctry_name is not Switserland and the seller is RET1 then return TEST MESSAGE else " " blank.

    (!(Boolean.valueOf($F{st_ctry_name}.equals ("Switserland")) && Boolean.valueOf($F{seller}.equals ("RET1")))) ? "TEST MESSAGE" : " " 

    Regards

    Luke

×
×
  • Create New...