Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help in Scripting

Hi All,

I have two tables:

Table A: It has the list of some IDs.

Table B: It also has a list of some IDs. Some IDs may be the same as those in Table A while some can be different.

Now, I want that only those IDs should be loaded in table B which are not present in Table A.

Thanks,

Asma

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Like this:

TableA:

LOAD *

FROM TableA.xlsx (ooxml, ...);

LOAD *

FROM TableB.xlsx (ooxml, ...)

WHERE Not Exists (ID);

HTH

Jonathan

PS: you might want to concatenate the two tables - just add Concatenate before the second load

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
arusanah
Creator II
Creator II

HI Asma ,

PFA the test qvw.  if i understood ur requirement this is how it will work .

Have a good day !!