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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tmap convert null to zero

Hi all,
Hopefully a simple one for you. My output of a tmap join of two inputs returns the following:
.-----------------------+-----.
| tLogRow_1 |
|=----------------------+----=|
|Value |COUNT|
|=----------------------+----=|
|940 |847 |
|94106 |null |
|94107 |null |
|94_Source_Total |978 |
|950 |null |
|95106 |null |
|95107 |null |
|95_Source_Total |null |
|Grand_Total |978 |
'-----------------------+-----'

What i'd like to do, either in the tmap i'm using or in any subsequent components, is to convert the null values to "0". 
My java knowledge is close to non-existent so i'm a bit stuck with the tmap expression builder. Any help regarding how to handle this would be appreciated. 
Thanks!
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Use this expression in Tmap
row.COUNT==null?0:row.COUNT  

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Use this expression in Tmap
row.COUNT==null?0:row.COUNT  
Anonymous
Not applicable
Author

Marvelous, thank you!