Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
cscherer
Contributor
Contributor

do not load empty data

Hello,

I`ve got lots of .csv-files, which are my data sources. In some files there are empty rows - but there is a separator. In a listbox I see them as empty data.

What do I have to do to not load the empty rows? How does the script has to look like?

Thanks in advance,

cscherer

1 Solution

Accepted Solutions
hic
Former Employee
Former Employee

The simplest way is to have a where clause:

Load ... From ... Where Len( <Column1> ) > 0 ;

HIC

View solution in original post

3 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

You can create a filter using the 'Enable Transformation Steps' option in the load wizard. Use conditional delete to exclude lines that meet criteria that you specify (eg exclude lines where column 1 is empty).

If you post a sample of the text file, then someone can be more specific about the filter that you need.

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
hic
Former Employee
Former Employee

The simplest way is to have a where clause:

Load ... From ... Where Len( <Column1> ) > 0 ;

HIC

cscherer
Contributor
Contributor
Author

thanks, it works!