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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
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 🙂 !