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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jpjust
Specialist
Specialist

Pass values to qvd

All,

I need a help here.

I have an script as below 

[ALLIDS]:

LOAD

IDnumber

trandate

FROM [lib://qvd1.qvd](qvd);

[Product]:

LOAD
IDnumber
cost
productname

status

FROM [lib://product.QVD](qvd);

What I would like to do is, just pass the IDnumber from [ALLIDS] to [Product] table.

So that [Product] table returns records only for the IDnumber that is present in [ALLIDS] table.

How to achieve it?

Thanks

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Add Where Exists(IDnumber) to the Product load.

[Product]:
LOAD
IDnumber
cost
productname
status
FROM [lib://product.QVD](qvd)
Where Exists(IDnumber)
;

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

View solution in original post

2 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Add Where Exists(IDnumber) to the Product load.

[Product]:
LOAD
IDnumber
cost
productname
status
FROM [lib://product.QVD](qvd)
Where Exists(IDnumber)
;

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

jpjust
Specialist
Specialist
Author

Thank you so much Rob!! Awesome.