Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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!