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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
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

Labels (1)
1 Solution

Accepted Solutions
Kushal_Chawda
MVP
MVP

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

View solution in original post

4 Replies
Kushal_Chawda
MVP
MVP

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

Not applicable
Author

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

sunny_talwar
MVP
MVP

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
MVP
MVP

Just a small update to stalwar1‌ recommendation..

Alt(YourExpression*1, 0)


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