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

Loading from CSV, WHERE CONTAINS/LIKE

I'm loading rows from csv

1/1/2011;1;foobar

1/2/2011;2;quickbrownfox

How can I filter the rows during load so that the text field has to have certain value?

LOAD

    @1,

    @2,

    @3

FROM

     [..\data.csv]

WHERE

    ???

I've tried

@3 LIKE '%foo%'

@3 CONTAINS('foo')

@3 = '*foo*'

But can't figure out the right syntax. Thanks for any help on this.

1 Solution

Accepted Solutions
Not applicable
Author

Hello mlindman

it seems that you are quite close, try this:

. . .

WHERE(@1 like '*foo*');

RR

View solution in original post

1 Reply
Not applicable
Author

Hello mlindman

it seems that you are quite close, try this:

. . .

WHERE(@1 like '*foo*');

RR