<?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 Re: Where Not Exists In Table Only in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-Not-Exists-In-Table-Only/m-p/853585#M657691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your workaround is actually the best practice to deal with this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2015 16:21:51 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-04-30T16:21:51Z</dc:date>
    <item>
      <title>Where Not Exists In Table Only</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Not-Exists-In-Table-Only/m-p/853584#M657690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying load additional rows into a table while avoiding duplication with existing rows. See the demo load script below. The result in Tab 2 is:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;F1 F3&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;A Large&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;B Small&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Where Not Exists clause is checking the entire field F1. Can it be forced to check only within Tab 2 so the end result is:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;F1 F3&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;A Large&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;B Small&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;C Medium&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Ie, a row for C is added but A and B are not duplicated? I have a workaround involving temporarily duplicating F1: is there a better approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[Tab 1]:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[F1, F2&lt;BR /&gt; A, Regular&lt;BR /&gt; B, Premium&lt;BR /&gt; C, Occasional]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; [Tab 2]:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[F1, F3&lt;BR /&gt; A, Large&lt;BR /&gt; B, Small]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// Does not load (C, Medium) since C already exists in Field F1&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;([Tab 2])&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;F1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; ,'Medium' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;F3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; [Tab 1]&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;not&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;F1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 01:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Not-Exists-In-Table-Only/m-p/853584#M657690</guid>
      <dc:creator>s2ncpgwx</dc:creator>
      <dc:date>2015-04-30T01:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Where Not Exists In Table Only</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Not-Exists-In-Table-Only/m-p/853585#M657691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your workaround is actually the best practice to deal with this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 16:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Not-Exists-In-Table-Only/m-p/853585#M657691</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-04-30T16:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where Not Exists In Table Only</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Not-Exists-In-Table-Only/m-p/853586#M657692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 22:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Not-Exists-In-Table-Only/m-p/853586#M657692</guid>
      <dc:creator>s2ncpgwx</dc:creator>
      <dc:date>2015-04-30T22:48:05Z</dc:date>
    </item>
  </channel>
</rss>

