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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Mt3
Contributor III
Contributor III

Like in load statement, multiple matches

Hi,

I am trying to figure out what the like statement could be incorporated within the load statement with many matching options.

What i would like to sort is all results, which contain letter A or B.

I tried wildmatch and like statement, but both results are not correct. 

Would you have any suggestions on that?

LOAD
"ColumnName"
FROM [qvdlocation.qvd]
(qvd)

WHERE "ColumnName" like '%A%' or '%B%';

Labels (1)
2 Replies
brunobertels
Master
Master

hi 

may be this 

LOAD
"ColumnName"
FROM [qvdlocation.qvd]
(qvd)

WHERE match("ColumnName" ,'*A*' ,'*B*') ;

SunilChauhan
Champion II
Champion II

I think it's required wildmatch

 

hi 

may be this 

LOAD
"ColumnName"
FROM [qvdlocation.qvd]
(qvd)

WHERE wildmatch("ColumnName" ,'*A*' ,'*B*') >0;

 

 

Sunil Chauhan