Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

changing dash [-] to zero

How do I change this calculated [-] to zero?

1.JPG

1 Solution

Accepted Solutions
Kushal_Chawda

= If (isnull(YourExpression),0,YourExpression)

View solution in original post

4 Replies
Kushal_Chawda

= If (isnull(YourExpression),0,YourExpression)

Not applicable
Author

In presentation tab for missing and null symbol u replace - by zero.

sunny_talwar

Or even this should work for true nulls

Alt(YourExpression, 0)

Incase they are not true nulls, you can try this:

If(Len(Trim(YourExpression)) > 0, YourExpression, 0)

Saravanan_Desingh

Just a small update to stalwar1‌ recommendation..

Alt(YourExpression*1, 0)


A numeric filled string will also taken care by this...