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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to search a strings in column ?

     Hi team.

i have product column

now i want to display  only ( if product  name contain 'sv'  then  i want to

display only  that prducts)w

how to write  logic in script

thanks

11 Replies
narender123
Specialist
Specialist

Hi,

Try this.

in script level,

=If(product_name='sv',product_name)    // only include sv

or

=if(product_name='sv*',product_name)  //include sv + all char starting from sv..

Let me know if it would work..

Thanks.

Not applicable
Author

Hi,

You can use the function WILDMATCH.

LOAD *

FROM TABLE

WHERE Wildmatch(Product, '*sv*') >= 1;

Wildmatch will return 1 if the products contains sv and 0 if not.