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?