Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Ayden
Contributor III
Contributor III

filter with where clause

am new to qlik and I am trying to filter my data set with 

where clause.

example 

Load
VOYAGE,
REFERENCE,
JOU_FROM,
JOU_TO,

From XYZ_Table;
 
so my question they are different countries in JOU_FROM and JOU_TO. how could i Filter data 
JOU_FROM like US* OR Like CA* AND JOU_TO NOT Like US* OR CA* to give all VOYAGES going out of Both countries. And also,
JOU_FROM NOT LIke US* OR CA* AND LIKE US* OR CA* to give all VOYAGES going into both countries.
 
Thanks i have been trying to get around this any tips would help.
Thanks
Ay.
 
 
1 Solution

Accepted Solutions
Saravanan_Desingh

Multiple LIKE commands can be combined like this,

Where WildMatch(JOU_FROM,'US*','CA*') AND Not WildMatch(JOU_TO,'US*','CA*');

 

View solution in original post

1 Reply
Saravanan_Desingh

Multiple LIKE commands can be combined like this,

Where WildMatch(JOU_FROM,'US*','CA*') AND Not WildMatch(JOU_TO,'US*','CA*');