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

How to show null values as zero?

How to show null values as zero by script?

Ex: If COMM=NULL then 0 else COMM

Labels (1)
11 Replies
Not applicable
Author

Dear JJR,

Convert null values to 0 using simple expression,

=Alt(FieldName, '',0)

Kind regards,

Ishfaque Ahmed

Thank you Ishfaque Ahmed. It is also working fine.

kumarravi
Contributor III
Contributor III

Hey mostly I have seen isnull() function is being used in this:

Example:

If(IsNull(Col_name),0,col_name)

Happy Learning 🙂 !