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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

difference between null() and ''

hello guys,

I'm trying to use NullAsValue to convert data without values to some named string, but to some field, it didn't work until I use express like below to create a substitue field. my question is does QV create "blank value"(here is '') other than Null() during my JOIN, or my source data base contains "blank value", and how should I tell when NullAsValue can totally work before I try on checking the existence of "blank value".

If(*fieldname='','no value, fieldname)

thank you.

Jia Junqing

12 Replies
Not applicable
Author

you can use it in scripting. if(len(fieldname)=0,'no-value',fieldname) as fieldname

Not applicable
Author

Thank you guys! your notes really give me comprehensive view of null() and ''.

oknotsen
Master III
Master III

If your question is now answered, please flag the Correct Answer (via the big "Correct Answer" button near every post) and Helpful Answers (found under the Actions menu under every post).

If not, please make clear what part of this topic you still need help with .

May you live in interesting times!