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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

not exists 2 Qvd tabel

Hi,

i want to extract records from 2 QVD tabel where the records from 1. qvd not in 2.qvd.

Table1:

BP_ID

Tabel2:

BP_ID

all BP_ID from Tabel1, where not in Tabel2.

Thanks

Regards

1 Solution

Accepted Solutions
rbecher
MVP
MVP

If you ar using different field names you have to use:

Where not Exists(ID, ID2)

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine

View solution in original post

10 Replies
Not applicable
Author

table2:

load

     BP_ID

from...

table1:

load

     BP_ID

from ....

where not exists(BP_ID)

Not applicable
Author

Hi,

Thanks

but i get the all.

Tabelle2:
Load
BP_ID
FROM $(VarQvdPfad)Transaktionsdaten\Fakten_Billing_Line.qvd (qvd);


Tabelle1:
noconcatenate Load
BP_ID
FROM $(VarQvdPfad)CSP\CSP_BP.qvd (qvd)

where not exists (BP_ID);

Not applicable
Author

Good to hear you solved your problem by yourself.

Not applicable
Author

hi

yes it show all record because of both of table link with ID field

You do this manner:

 

  

T1:
LOAD ID
FROM

(biff, embedded labels, table is Sheet3$);
T2:

LOAD ID as ID2
FROM

(biff, embedded labels, table is Sheet4$) where not Exists(ID);

Regards

Sonu Srivastava

Not applicable
Author

Hi Thanks,

the Problem isn't solved. Sorry for my bad Englisch.

I still get the all Records. I changed them to flowing, but i get the all record.

T1:
LOAD ID
FROM

(biff, embedded labels, table is Sheet3$);
T2:

LOAD ID as ID2
FROM

(biff, embedded labels, table is Sheet4$) where not Exists(ID);

do you have any Idea?

Thanks

Not applicable
Author

T1:
LOAD ID
FROM

(biff, embedded labels, table is Sheet3$);
T2:

LOAD ID as ID2
FROM

(biff, embedded labels, table is Sheet4$) where not Exists(ID);

drop table T1;

rbecher
MVP
MVP

If you ar using different field names you have to use:

Where not Exists(ID, ID2)

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
Not applicable
Author

Hi Ralf,

Thankyou, but i get the all record. the 2 tables are QVD Tabel und not Excel.

is that problem ?

Shideh

rbecher
MVP
MVP

Please upload an example..

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine