<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to do NOT IN Statement when doing a load from a Resident table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-do-NOT-IN-Statement-when-doing-a-load-from-a-Resident/m-p/198571#M57834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That did the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Apr 2011 15:44:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-08T15:44:01Z</dc:date>
    <item>
      <title>How to do NOT IN Statement when doing a load from a Resident table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-NOT-IN-Statement-when-doing-a-load-from-a-Resident/m-p/198569#M57832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm stuck at not being able to do not in statement during the load statement of one of the resident table. Here's my scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;ID, T1_Field1, T_1Field2&lt;/P&gt;&lt;P&gt;1, f1A, F2A&lt;/P&gt;&lt;P&gt;2, f1B, F2B&lt;/P&gt;&lt;P&gt;3, f1C, F2C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2:&lt;/P&gt;&lt;P&gt;ID, T2_Field1, T_2Field2&lt;/P&gt;&lt;P&gt;2, f1B, F2B&lt;/P&gt;&lt;P&gt;I need to get all the records from Table 1 that is not in Table 2&lt;/P&gt;&lt;P&gt;So my result of my query should result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;ID, T1_Field1, T_1Field2&lt;/P&gt;&lt;P&gt;1, f1A, F2A&lt;/P&gt;&lt;P&gt;3, f1C, F2C&lt;/P&gt;&lt;P&gt;Note: Both of these tables are resident tables. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Samir&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 16:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-NOT-IN-Statement-when-doing-a-load-from-a-Resident/m-p/198569#M57832</guid>
      <dc:creator />
      <dc:date>2011-04-05T16:34:48Z</dc:date>
    </item>
    <item>
      <title>How to do NOT IN Statement when doing a load from a Resident table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-NOT-IN-Statement-when-doing-a-load-from-a-Resident/m-p/198570#M57833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samir,&lt;/P&gt;&lt;P&gt;check this sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;Table1:&lt;BR /&gt;load * inline [&lt;BR /&gt;ID, T1_Field1, T_1Field2&lt;BR /&gt; 1, f1A, F2A&lt;BR /&gt; 2, f1B, F2B&lt;BR /&gt; 3, f1C, F2C&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;Table2:&lt;BR /&gt;noconcatenate&lt;BR /&gt;load * inline [&lt;BR /&gt; ID2, T2_Field1, T_2Field2&lt;BR /&gt; 2, f1B, F2B&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;DesiredTable:&lt;BR /&gt;noconcatenate&lt;BR /&gt;load * resident Table1&lt;BR /&gt;where not exists (ID2, ID);&lt;BR /&gt;&lt;BR /&gt;drop table Table1, Table2;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 21:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-NOT-IN-Statement-when-doing-a-load-from-a-Resident/m-p/198570#M57833</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2011-04-05T21:29:34Z</dc:date>
    </item>
    <item>
      <title>How to do NOT IN Statement when doing a load from a Resident table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-NOT-IN-Statement-when-doing-a-load-from-a-Resident/m-p/198571#M57834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That did the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 15:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-NOT-IN-Statement-when-doing-a-load-from-a-Resident/m-p/198571#M57834</guid>
      <dc:creator />
      <dc:date>2011-04-08T15:44:01Z</dc:date>
    </item>
  </channel>
</rss>

