BIRT If Null Data Binding Expression

Hello, I just started using the BIRT KNIME reporting extension. I’m not good at JavaScript and I just want to know how to display nothing if both data fields are blank in example:

dataSetRow[“PRIMARY CONTACT NAME 2”]+" "+dataSetRow[“PRIMARY EMAIL ADDRESS 2”]

Sometimes there’s data in these columns and sometimes not, I want it to be blank if it’s empty.

Thank you,

Mona

@MJRIOUX,

Unfortunately I do not have a direct solution in BIRT for your request.
But a quite simple workaraound could the calculation of that data item in KNIME and passing it together with the other data to BIRT .

2 Likes