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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

replace null value by '.'

Hello,

 

I have one colomn for contact number some user did not enter value in that column...

Now i want to replace that value ny DOT '' . ''

 

 

 

Please reply 

 

Thanks

Labels (2)
1 Solution

Accepted Solutions
ashif2
Creator II
Creator II

No need to new column, you can change the simple expression in tMap Output

i.e. row1.ColumnName to 

row1.ColumnName==null || row1.ColumnName.isEmpty()?".":row1.ColumnName

View solution in original post

6 Replies
ashif2
Creator II
Creator II

Using Ternary operator in tMap we can achieve this ,

 

row1.ColumnName==null || row1.ColumnName.isEmpty()?".":row1.ColumnName

Anonymous
Not applicable
Author

this making new column ...and i want "." where column value is null
ashif2
Creator II
Creator II

No need to new column, you can change the simple expression in tMap Output

i.e. row1.ColumnName to 

row1.ColumnName==null || row1.ColumnName.isEmpty()?".":row1.ColumnName

Anonymous
Not applicable
Author

0683p000009Lr7G.png

Vinlogs
Creator
Creator

I believe ashifa is right, try his expression in tmap and see if that helps!
Anonymous
Not applicable
Author

it's working properly...

 

 

Thank you so much..