<?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 Drop record from a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Drop-record-from-a-table/m-p/250126#M1208586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Which is the fast way to drop record from a table, starting from an "exclusion table".&lt;/P&gt;&lt;P&gt;I have let's say &lt;STRONG&gt;'table1'&lt;/STRONG&gt; of all my record, but I've to exclude those record that I've in &lt;STRONG&gt;'ExclusionTable'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Matching field are 2. So which is in your opinion the fastest way to exclude record of &lt;STRONG&gt;'Exclusion Table'&lt;/STRONG&gt; from &lt;STRONG&gt;'Table1'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Apr 2010 12:59:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-06T12:59:59Z</dc:date>
    <item>
      <title>Drop record from a table</title>
      <link>https://community.qlik.com/t5/QlikView/Drop-record-from-a-table/m-p/250126#M1208586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Which is the fast way to drop record from a table, starting from an "exclusion table".&lt;/P&gt;&lt;P&gt;I have let's say &lt;STRONG&gt;'table1'&lt;/STRONG&gt; of all my record, but I've to exclude those record that I've in &lt;STRONG&gt;'ExclusionTable'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Matching field are 2. So which is in your opinion the fastest way to exclude record of &lt;STRONG&gt;'Exclusion Table'&lt;/STRONG&gt; from &lt;STRONG&gt;'Table1'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 12:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drop-record-from-a-table/m-p/250126#M1208586</guid>
      <dc:creator />
      <dc:date>2010-04-06T12:59:59Z</dc:date>
    </item>
    <item>
      <title>Drop record from a table</title>
      <link>https://community.qlik.com/t5/QlikView/Drop-record-from-a-table/m-p/250127#M1208587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fastest way is probably to not load the excluded rows in the first place:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[Exclusion Table]:&lt;BR /&gt;LOAD Field1 &amp;amp; ',' &amp;amp; Field2 as ExclusionKey&lt;BR /&gt;...&lt;BR /&gt;;&lt;BR /&gt;[Main Table]&lt;BR /&gt;LOAD&lt;BR /&gt; UniqueID&lt;BR /&gt;,some fields&lt;BR /&gt;,Field1&lt;BR /&gt;,Field2&lt;BR /&gt;,some other fields&lt;BR /&gt;...&lt;BR /&gt;WHERE NOT EXISTS (ExclusionKey,Field1 &amp;amp; ',' &amp;amp; Field2)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;If you MUST load the main table first (or if using QVDs, where the not exists above would, I believe, cause an unoptimized load), probably something like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[Main Table]&lt;BR /&gt;LOAD&lt;BR /&gt; UniqueID&lt;BR /&gt;,some fields&lt;BR /&gt;,Field1&lt;BR /&gt;,Field2&lt;BR /&gt;,some other fields&lt;BR /&gt;...&lt;BR /&gt;;&lt;BR /&gt;[Exclusion Table]:&lt;BR /&gt;LOAD Field1 &amp;amp; ',' &amp;amp; Field2 as ExclusionKey&lt;BR /&gt;...&lt;BR /&gt;;&lt;BR /&gt;INNER JOIN ([Main Table])&lt;BR /&gt;LOAD UniqueID&lt;BR /&gt;RESIDENT [Main Table]&lt;BR /&gt;WHERE NOT EXISTS (ExclusionKey,Field1 &amp;amp; ',' &amp;amp; Field2)&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 22:00:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drop-record-from-a-table/m-p/250127#M1208587</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-07T22:00:26Z</dc:date>
    </item>
  </channel>
</rss>

