Loading...

Handling 'undefined' value

Option 1. Using an expression to replace Undefined value

The reason you are getting 'undefined' is that the property/field doesn't exist.

To replace an undefined field with 'N/A' using the built-in function ifNull, you can use the following expression to replace the value with 'N/A' if the property is null, undefined, or empty

{{ ifNull(data.somefield, "N/A") }}

Option 2: Using “Undefined Value Handling” to suppress undefined value

Alternatively, you can suppress an undefined value by enabling Undefined Value Handling and replacing the undefined value with new text.