Cannot use Built In Jasper Functions

Hello, I’m Trying to run a jasper report.
I’m getting:
Error formatting jasper report: Error evaluating expression for source text: IF($F{vial}==“Si”,$F{vial},“No”) Report name [solicitud]
Error evaluating expression for source text: IF($F{vial}==“Si”,$F{vial},“No”)
Function IF not found.

Is this not supported or am I missing something?

Thank you for the support.

image stackTrace.txt (7.9 KB)

it works now… i don’t know what version of jasper…yarg is using… but its missing these libraries for the functions to work.

compile ‘net.sf.jasperreports:jasperreports-functions:6.14.0’
compile ‘com.lowagie:itext:2.1.7’

image