Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
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