Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
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

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 🙂 !