Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
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
Partner - Master

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
Partner - Master

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