<?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: Load an outer excluding join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745682#M266181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand you correctly - it is simpler than that.&amp;nbsp; For the first picture, load B, and after that load A excluding records existing in B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A, B, C, D, E&lt;/P&gt;&lt;P&gt;A&amp;amp;B&amp;amp;C as Key&lt;/P&gt;&lt;P&gt;FROM blargh;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A, B, C&lt;/P&gt;&lt;P&gt;FROM blah&lt;/P&gt;&lt;P&gt;WHERE not exists(Key, A&amp;amp;B&amp;amp;C);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE B;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second - just inverse...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2015 17:25:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-18T17:25:55Z</dc:date>
    <item>
      <title>Load an outer excluding join</title>
      <link>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745677#M266176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I use an outer excluding join in my qlikview script, like the illustration below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="OUTER_EXCLUDING_JOIN.png" class="image-1 jive-image" src="http://www.codeproject.com/KB/database/Visual_SQL_Joins/OUTER_EXCLUDING_JOIN.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I'm aware, my options are using left, right, inner and outer join. I guess what I'm looking for is an outer join, minus the inner join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 16:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745677#M266176</guid>
      <dc:creator />
      <dc:date>2015-02-18T16:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Load an outer excluding join</title>
      <link>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745678#M266177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create table "inner join of A &amp;amp; B".&amp;nbsp; Next step is to load "full join A&amp;amp;B" where records don't exist in the "inner join" table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 16:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745678#M266177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-18T16:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Load an outer excluding join</title>
      <link>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745679#M266178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply - would that be done using "exists"? if so, is there a way of specifying the table to see whether the records exist or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14242776477668843" jivemacro_uid="_14242776477668843" modifiedtitle="true"&gt;
&lt;P&gt;TableA:&lt;/P&gt;
&lt;P&gt;Load * from [blah];&lt;/P&gt;
&lt;P&gt;Inner join&lt;/P&gt;
&lt;P&gt;Load * from [blargh];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;TableB:&lt;/P&gt;
&lt;P&gt;Load * from [blah];&lt;/P&gt;
&lt;P&gt;Outer join&lt;/P&gt;
&lt;P&gt;Load * from [blargh]&lt;/P&gt;
&lt;P&gt;Where not exists (*);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or would the "(*)" that I've used need be a key column from blah and blargh?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 16:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745679#M266178</guid>
      <dc:creator />
      <dc:date>2015-02-18T16:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Load an outer excluding join</title>
      <link>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745680#M266179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exists works with a field, not * - so you need a key.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A, B, C,&lt;/P&gt;&lt;P&gt;A&amp;amp;B&amp;amp;C as Key&lt;/P&gt;&lt;P&gt;FROM blah;&lt;/P&gt;&lt;P&gt;INNER JOIN (A) LOAD&lt;/P&gt;&lt;P&gt;A, B, C,D,E&lt;/P&gt;&lt;P&gt;A&amp;amp;B&amp;amp;C as Key&lt;/P&gt;&lt;P&gt;FROM blargh;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A, B, C&lt;/P&gt;&lt;P&gt;FROM blah&lt;/P&gt;&lt;P&gt;WHERE not exists(Key, A&amp;amp;B&amp;amp;C);&lt;/P&gt;&lt;P&gt;JOIN (B) LOAD&lt;/P&gt;&lt;P&gt;A, B, C,D,E&lt;/P&gt;&lt;P&gt;FROM blargh&lt;/P&gt;&lt;P&gt;WHERE not exists(Key, A&amp;amp;B&amp;amp;C);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE A;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 16:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745680#M266179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-18T16:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Load an outer excluding join</title>
      <link>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745681#M266180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super, thanks. And I guess, for completeness, if I wanted to do a left/right exclude like the images below, I'd remove one or the other of the where clauses?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LEFT_EXCLUDING_JOIN.png" class="image-1 jive-image" src="http://www.codeproject.com/KB/database/Visual_SQL_Joins/LEFT_EXCLUDING_JOIN.png" style="height: auto;" /&gt;&amp;nbsp; &lt;IMG alt="RIGHT_EXCLUDING_JOIN.png" class="jive-image image-2" src="http://www.codeproject.com/KB/database/Visual_SQL_Joins/RIGHT_EXCLUDING_JOIN.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 17:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745681#M266180</guid>
      <dc:creator />
      <dc:date>2015-02-18T17:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Load an outer excluding join</title>
      <link>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745682#M266181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand you correctly - it is simpler than that.&amp;nbsp; For the first picture, load B, and after that load A excluding records existing in B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A, B, C, D, E&lt;/P&gt;&lt;P&gt;A&amp;amp;B&amp;amp;C as Key&lt;/P&gt;&lt;P&gt;FROM blargh;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A, B, C&lt;/P&gt;&lt;P&gt;FROM blah&lt;/P&gt;&lt;P&gt;WHERE not exists(Key, A&amp;amp;B&amp;amp;C);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE B;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second - just inverse...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 17:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745682#M266181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-18T17:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load an outer excluding join</title>
      <link>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745683#M266182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to do in set analysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 14:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-an-outer-excluding-join/m-p/745683#M266182</guid>
      <dc:creator>danimelo1</dc:creator>
      <dc:date>2017-12-22T14:12:04Z</dc:date>
    </item>
  </channel>
</rss>

