Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
brunopaulo
Partner - Creator II
Partner - Creator II

Replace Null Values for 0

Hi, I'm loading several excel files with diferente fields. I want to create a condition that replace null values for 0.
I know how to do for a specifc field but in this case the name of field can be variable (more then 100 fields) so i want create a condtion for table.

Check Table if null replace to 0.

Anyone has idea how to do it? Thanks in advance

Regards

1 Solution

Accepted Solutions
zhadrakas
Specialist II
Specialist II

you can try to add this line. Maybe QlikView dont recognize that the empty cells are real NULL Values.

SET NullInterpret = ‘’;

regards

tim

View solution in original post

5 Replies
Mark_Little
Luminary
Luminary

Hi Bruno,

Take a look at null as value.

NullAsValue ‒ Qlik Sense

zhadrakas
Specialist II
Specialist II

Try this code above your load script.

NullAsValue *; SET NullValue = ‘0’;

regards

tim

brunopaulo
Partner - Creator II
Partner - Creator II
Author

Didnt work. But this is the way

zhadrakas
Specialist II
Specialist II

you can try to add this line. Maybe QlikView dont recognize that the empty cells are real NULL Values.

SET NullInterpret = ‘’;

regards

tim

brunopaulo
Partner - Creator II
Partner - Creator II
Author

Thank you, solved it!!!!