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

sunnycappm

Members
  • Posts

    2
  • Joined

  • Last visited

sunnycappm's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Thank you! I figured out soon after my original post...;) Here it is for the benefit of others ($F{CP} == 1 && $F{TP}==11) ? "XT": $F{CP} == 1 ? "X": $F{TP}== 1 ? "T":"" Here's another example $F{P} == 1 ? "1 - 10-19%": $F{P} == 2 ? "2 - 20-39%": $F{P} == 3 ? "3 - 40-59%": $F{P} == 4 ? "4 - 60-79%": $F{P} == 5 ? "5 - 80-100%": "" Hope that helps!
  2. Im new to jaspersoft world and trying to write an expresion that evaluates the value of a text box IF CP =1 AND TP = 1 Then "CT" ELSEIF CP =1 THEN "C" ELSEIF TP = 1 THEN "T" ELSE "" END IF I tried the following with not much success IF ($F{CP} == 11 && $F{TP} == 1),"CT", IF ($F{CP} == 1),"C",IF ($F{TP} == 1),"T","" This works partially but it doesnt evalue the expression in the else part and expects a constant...and not one more expression to evaluate (($F{CP} == 1) && ($F{TP})== 1) ? "CT" : ($F{CP} == 1)? "C" : ($F{TP} == 1)? "T" Any tips on writing expressions would help greatly...even if its your own cheatsheet?
×
×
  • Create New...