Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
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!

Labels (8)
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',..)

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

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.

tresesco
MVP
MVP

You would probably need 'and', like:

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