Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to exclude data

Hello I'm new in Qlikview and I don't know how to solve this problem on my script. I have two tables:
MaterialVmatriz
7NG0130
MaterialVmatriz
7AR0128
7NG0130
7NG0130
How can I get all the data from table one, plus the data from the second table that is not on table 1?
In this case my result should be
MaterialVmatriz
7NG0130
7AR0128

Thank you for your help

1 Solution

Accepted Solutions
MayilVahanan

HI,

     You can use not exists() in your script like this

    

Load Employee, ID, Salary from Employees.csv;

Load FirstName& ' ' &LastName as Employee, Comment from Citizens.csv where not exists (Employee, FirstName& ' ' &LastName);

Hope it hels

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
MayilVahanan

HI,

     You can use not exists() in your script like this

    

Load Employee, ID, Salary from Employees.csv;

Load FirstName& ' ' &LastName as Employee, Comment from Citizens.csv where not exists (Employee, FirstName& ' ' &LastName);

Hope it hels

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thank you! It worked!