Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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
Champion

I think it's required wildmatch

 

hi 

may be this 

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

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

 

 

Sunil Chauhan