<?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: left join not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325964#M824509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain what result are you expecting? I mean logic ..common or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jul 2017 09:48:53 GMT</pubDate>
    <dc:creator>shiveshsingh</dc:creator>
    <dc:date>2017-07-18T09:48:53Z</dc:date>
    <item>
      <title>left join not working</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325958#M824503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine this is one of those times when the answer is blaringly obvious I just cant see it.&lt;/P&gt;&lt;P&gt;I'm trying to perform a left join as per below however the result contains all fields. table 1 contains 3000 records, table 2 contains 185,000 records. the resulting table (I thought) should contain 3000 records with the new field, in this case Siteid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result however is that the resulting table contains 77,000 records and I haven't the foggiest why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOx_All:&lt;BR /&gt; LOAD Time, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; specificLane, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %SpeedFlow, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Speed_StDev, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Speed, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flow, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Vehicle Type], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Euro Standard], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vehicle_id, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOx&lt;BR /&gt;FROM&lt;BR /&gt;[XXX]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;exit SCRIPT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; left join&amp;nbsp; join (NOx_All) &lt;BR /&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Siteid&lt;BR /&gt;FROM&lt;BR /&gt;[XXX]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: sam brierley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325958#M824503</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: left join not working</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325959#M824504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try changing this to an INNER JOIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325959#M824504</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-07-18T09:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: left join not working</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325960#M824505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although you still may end up with more records, as I guess you may have multiple records per id in your first table...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325960#M824505</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-07-18T09:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: left join not working</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325961#M824506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Inner Join or try to load unique records in the second table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325961#M824506</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2017-07-18T09:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: left join not working</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325962#M824507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NOx_All:&lt;BR /&gt;LOAD Time, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; specificLane, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %SpeedFlow, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Speed_StDev, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Speed, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flow, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Vehicle Type], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Euro Standard], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vehicle_id, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOx&lt;BR /&gt;FROM&lt;BR /&gt;[XXX]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; left&amp;nbsp; join (NOx_All) &lt;BR /&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Siteid&lt;BR /&gt;FROM&lt;BR /&gt;[XXX]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325962#M824507</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-07-18T09:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: left join not working</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325963#M824508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;In the second table are all the values of id unique?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the join are you seeing more than one value of Siteid associated with id?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:36:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325963#M824508</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-18T09:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: left join not working</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325964#M824509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain what result are you expecting? I mean logic ..common or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325964#M824509</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-07-18T09:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: left join not working</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325965#M824510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes the values are unique in the second table.&lt;/P&gt;&lt;P&gt;I believe the issues is arising from residual spaces at the end of the strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will close shortly if the fix works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 10:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-not-working/m-p/1325965#M824510</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2017-07-18T10:04:00Z</dc:date>
    </item>
  </channel>
</rss>

