Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save an extra $150 Dec 1–7 with code CYBERWEEK - stackable with early bird savings: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
SharanDC1
Contributor
Contributor

NullPointer Exception tmap

I have a column of data type float with some null values. I want to set the null to 0.000. How do I do it in tmap?

Labels (3)
1 Reply
Anonymous
Not applicable

Hello,

When you are managing occasional nulls in expression, please use ternary operation in tMap.

Condition?value if true:value if false

For example, row.column==null || row.column.isEmpty())?"0.000": row.column(null string)

Best regards

Sabrina