<?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: Join only where doesn't exist in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-only-where-doesn-t-exist/m-p/748122#M1029367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm confused as to what the outcome should be. In both the SQL example and the suggested QV solution, it appears to me that nothing would be joined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you say you want to "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;concatenate it to another table (B)". Concatenate adds rows (Union is SQL) but then you mention Join which adds fields. Can you clarify what you are wanting and perhaps give a small example?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Do you perhaps want an OUTER Join rather than a LEFT Join?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2015 05:40:43 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2015-02-19T05:40:43Z</dc:date>
    <item>
      <title>Join only where doesn't exist</title>
      <link>https://community.qlik.com/t5/QlikView/Join-only-where-doesn-t-exist/m-p/748120#M1029365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have a table (A) where I want to concatenate it to another table (B). The only issue is that I want to concatenate the values where they &lt;STRONG&gt;don't exist&lt;/STRONG&gt; in Table B.&amp;nbsp; In sql we would do something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM Table A LEFT JOIN Table B ON a.id = b.id WHERE b.id IS NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of the Qlikview information only concerns where you have joining values, I only want what exists in A, but not in B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 04:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-only-where-doesn-t-exist/m-p/748120#M1029365</guid>
      <dc:creator>JustinDallas</dc:creator>
      <dc:date>2015-02-19T04:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Join only where doesn't exist</title>
      <link>https://community.qlik.com/t5/QlikView/Join-only-where-doesn-t-exist/m-p/748121#M1029366</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;Use Left Join and not exist()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load id,* from table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load id,* from table2&lt;/P&gt;&lt;P&gt;where not exist (id,id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 04:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-only-where-doesn-t-exist/m-p/748121#M1029366</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-02-19T04:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Join only where doesn't exist</title>
      <link>https://community.qlik.com/t5/QlikView/Join-only-where-doesn-t-exist/m-p/748122#M1029367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm confused as to what the outcome should be. In both the SQL example and the suggested QV solution, it appears to me that nothing would be joined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you say you want to "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;concatenate it to another table (B)". Concatenate adds rows (Union is SQL) but then you mention Join which adds fields. Can you clarify what you are wanting and perhaps give a small example?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Do you perhaps want an OUTER Join rather than a LEFT Join?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 05:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-only-where-doesn-t-exist/m-p/748122#M1029367</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-02-19T05:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Join only where doesn't exist</title>
      <link>https://community.qlik.com/t5/QlikView/Join-only-where-doesn-t-exist/m-p/748123#M1029368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here is a small script that does what I want after doing what you suggested with the OUTER Join.&amp;nbsp; It's not quite perfect, and I'll post that question somewhere else, but this is what I was looking for even if I couldn't explain it coherently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Username, Code, Blah, Cookies,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, a , 1 , 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, b , 2 , 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, c, 3 , 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, d, 4 , 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, e, 5 , 63&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;TableWithMissingDataAdded:&lt;/P&gt;&lt;P&gt;LOAD * Resident a&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;OUTER Join&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Username, Code, Blah&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, c, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, d, 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, Seattle, Seahawks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10, j, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11, k, 11&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;where not exists(Username,Blah)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;DROP TABLE a&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikSnip.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78568_QlikSnip.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 17:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-only-where-doesn-t-exist/m-p/748123#M1029368</guid>
      <dc:creator>JustinDallas</dc:creator>
      <dc:date>2015-02-19T17:15:59Z</dc:date>
    </item>
  </channel>
</rss>

