Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
MauriceLudo
Creator II
Creator II

delete nul values

Hi,

Please i like delete nul values ​​in the script, how i can do

thank you.

Best regards

Maurice

4 Replies
Gysbert_Wassenaar

By not loading them in the first place.

  • SQL SELECT ...stufff ... FROM ...somewhere.... WHERE ...something... Is Not Null ;
  • LOAD ...stufff ... FROM ...somewhere.... WHERE Not IsNull(...something...) ;

You may want to read these blog posts:


talk is cheap, supply exceeds demand
ganeshsvm
Creator II
Creator II

You can use in your load script like this,

LOAD field1, field2,.......

from "Sourcepath"

where len(trim(fieldname))<>0;

Not applicable

Or the condition:
WHERE fieldname IS NOT NULL;

Not applicable

Sorry, didn´t see the first answer, it was already stated