Qlik Community

Qlik Sense App Development

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

Announcements
IMPORTANT: Upcoming LEF Database Maintenance, Oct. 3rd - SEE DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted
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

Highlighted
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
Highlighted

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)
Contributor III
Contributor III

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

Annotation 2019-11-20 145012.jpg

Highlighted
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

Highlighted
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