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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Where exists

Hi all.

Could some one help me with a, I guess easy, where exists expression. I have to tables (Address and Contract) that are linked together and the keyfield is AdressID. There is only 10% of the contracts that have a address, which is correct. But I don't want to load all the addresses just the ones that have a contract.

Thanks!

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Load

     fieldA,

     fieldB,

     etc.

From Address

where exists(AdressID, AdressID);

Just make sure you load the Contract table first so you have the AdressID field there to refer to already.

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Load

     fieldA,

     fieldB,

     etc.

From Address

where exists(AdressID, AdressID);

Just make sure you load the Contract table first so you have the AdressID field there to refer to already.