Qlik Community

Ask a Question

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
April 22, 2PM EST: Learn about GeoOperations in Qlik Sense SaaS READ MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
NemoAndStitch22
Contributor III
Contributor III

Where Not function

Hiya, 

 

I'm trying to load my data in and have used in the script a 'where not' to exclude two credit numbers - See the photo, however this is not working and when I go to create my visualisations, the two credit numbers are included in the data.

What am I doing wrong here? The same is  happening with the Svc branch number.

Annotation 2019-11-20 133111.jpg

 

Thanks!

2 Solutions

Accepted Solutions
Ilya_Bobrov
Contributor III
Contributor III

Mayby try this: not match(fild1,'val1','val2') and not match(fild2,'val1','val2')?

in some systems or works not like in sql query.

View solution in original post

tresesco
MVP
MVP

You would probably need 'and', like:

Where not Match("Credit Number", '201915523', '201915522') and
Not Match("Svc Branch Number", '91', '92',..)

View solution in original post

4 Replies
Anil_Babu_Samineni

Perhaps these ways

Where not ("Credit Number" like '201915523' or "Credit Number" like '201915522') or
Not ("Svc Branch Number" like '91' or "Svc Branch Number" like '92' or ....)

Or

Where not Match("Credit Number", '201915523', '201915522') or
Not Match("Svc Branch Number", '91', '92',..)

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
NemoAndStitch22
Contributor III
Contributor III
Author

I've tried both ways and they are still showing in my analysis...

Annotation 2019-11-20 145012.jpg

Ilya_Bobrov
Contributor III
Contributor III

Mayby try this: not match(fild1,'val1','val2') and not match(fild2,'val1','val2')?

in some systems or works not like in sql query.

View solution in original post

tresesco
MVP
MVP

You would probably need 'and', like:

Where not Match("Credit Number", '201915523', '201915522') and
Not Match("Svc Branch Number", '91', '92',..)

View solution in original post