Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
reivax31
Not applicable

NOT LIKE

Hi Qlikers,

I'm loading a Table and based on the informations I have in the field 'comment' I would like to build a new field Status.

LOAD

comment,

if(comment like '*Test*', 'Test',

if(comment like '*Blocked*', 'Blocked',

if(comment NOT LIKE '*check*' and NOT LIKE '*analyse*', 'To be checked',

if(comment like ......))))  AS Status

From ...

Thanks for your help

Tags (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Not applicable

Re: NOT LIKE

Not Wildmatch(comment, '*check*','*analyse*')


talk is cheap, supply exceeds demand
5 Replies
Gysbert_Wassenaar
Not applicable

Re: NOT LIKE

Not Wildmatch(comment, '*check*','*analyse*')


talk is cheap, supply exceeds demand
kaushik_solanki
Not applicable

Re: NOT LIKE

Hi,

Use the wildmatch function.

if(Wildmatch(comment,'*Test*'), 'Test',

if(Wildmatch(comment,'*Blocked*'), 'Blocked',

...............

Regards,

Kaushik Solanki

sunny_talwar
Not applicable

Re: NOT LIKE

And if you insist on using LIKE, you can try this:

if(not comment LIKE '*check*' and not comment LIKE '*analyse*', 'To be checked',

reivax31
Not applicable

Re: NOT LIKE

It worked perfectly! thanks for your help

reivax31
Not applicable

Re: NOT LIKE

Thanks for this solution