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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
KirstenKa
Creator II
Creator II

Remove blanks in upload script

How can I remove blanks from a certain column/value from the upload file and enter this in the upload script 

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

Try like,

Load [Column A],
           [Column B]

FROM Source
Where Len(Trim([Column B])) > 0;

View solution in original post

3 Replies
BrunPierre
Partner - Master II
Partner - Master II

Try like,

Load [Column A],
           [Column B]

FROM Source
Where Len(Trim([Column B])) > 0;

Chintam
Contributor II
Contributor II

Hi, You can try using IsNull(),

you can use to create like a a flag or you can restrict through where condition while loading.

If(IsNull(FIELDNAME),'BLANK',FIELDNAME) as Flag - this will help to showcase with in the data.

Load *, From Source Where NOT IsNull(FIELDNAME);  - this will restrict loading the NULL values

KirstenKa
Creator II
Creator II
Author

Thanks, I can try if it works. But I need to understand how to integrate this in the load script