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: 
Not applicable

table exception

Hi,

I'm struggling to bring everything they have in a FACT table except his match in a table SUPPLEMENTARY_terminations.

I did but did not work as below:

Left Join (Apparel)

LOAD IDFuncResComp,

   IDFuncResCompCont

      Resident Rescisoes_comp Where not Exists (IDFuncResComp, IDFuncResComp);

4 Replies
tresesco
MVP
MVP

Try mentioning the table name like:

Resident Rescisoes_comp Where not Exists (EarlierTable.IDFuncResComp, IDFuncResComp);

Not applicable
Author

I did it, but still did not work.

Not applicable
Author

Hi,

Hope this helps.

Regards,

Anju

marcus_malinow
Partner - Specialist III
Partner - Specialist III

Hi Hugo,

am I right in understanding that you only wish to retain those records in Apparel where you do not have a matching IDFuncResComp in Rescisoes_comp?

If so, you may have a couple of issues.

The not exists clause you have won't work as all the IDFuncResComp values have already been loaded into your resident table, so no records would match the NOT EXISTS clause.

Also, you may want to change this JOIN to a KEEP. See this link for some useful information on this - http://community.qlik.com/groups/qvscriptor-from-schema-to-script/blog/2011/11/11/understanding-join...

Marcus