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

Exclude data from table load script

Hi

I have table A and table B loaded from QVD and I want just to stay with the values that just appear in A and not in B

Exclusions.png

5 Replies
sunny_talwar

May be this:

TableB:

LOAD KeyFields

FROM B.qvd;

TableA:

LOAD KeyFields,

          OtherFieldNames

FROM A.qvd

Where not Exists(KeyFields);


DROP Table TableB;

Not applicable
Author

Thanks It work

sunny_talwar

Great

Anonymous
Not applicable
Author

Hi Sunny, thanks for the explanation.

I would like to know how should I do if I have the following fields:

ID#Doc#
1333
1444
1555
2333
2444
3333
3555

So I want to exclude all ID# that has Doc#555.

And result shoud be a table with ID#2

Is there any way to achieve it?

Thanks

sunny_talwar

You can try like this:

Table:

LOAD ID#,

           Doc#

FROM ....;

Right Join (Table)

LOAD ID#

Where Count = 0;

LOAD ID#,

           Count(If(Doc# = 555, Doc#)) as Count

Resident Table

Group By ID#;