<?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 one record in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792364#M666104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not able to understand your requirements !&lt;/P&gt;&lt;P&gt;Can you provide us the final result you are looking for?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;====&lt;/P&gt;&lt;P&gt;use below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;Load *, AutoNumber(ID &amp;amp; A) as Sequence Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID, A&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, x&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, y&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2, x&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3, z&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (T2) Load ID, Min(Sequence) as MinKey Resident T2 Group By ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join (T1)&lt;/P&gt;&lt;P&gt;Load * Resident T2 Where Sequence = MinKey;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table T2;&lt;/P&gt;&lt;P&gt;Drop Fields Sequence, MinKey;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Dec 2014 20:06:35 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-12-26T20:06:35Z</dc:date>
    <item>
      <title>left join one record</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792363#M666103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i have this&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to left join a table1 with table2 but i only one description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 19:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792363#M666103</guid>
      <dc:creator />
      <dc:date>2014-12-26T19:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: left join one record</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792364#M666104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not able to understand your requirements !&lt;/P&gt;&lt;P&gt;Can you provide us the final result you are looking for?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;====&lt;/P&gt;&lt;P&gt;use below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;Load *, AutoNumber(ID &amp;amp; A) as Sequence Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID, A&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, x&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, y&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2, x&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3, z&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (T2) Load ID, Min(Sequence) as MinKey Resident T2 Group By ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join (T1)&lt;/P&gt;&lt;P&gt;Load * Resident T2 Where Sequence = MinKey;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table T2;&lt;/P&gt;&lt;P&gt;Drop Fields Sequence, MinKey;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 20:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792364#M666104</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-12-26T20:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: left join one record</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792365#M666106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Please Try:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Table1:&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: #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;[&lt;BR /&gt; ID &lt;BR /&gt; &lt;BR /&gt; 1&lt;BR /&gt; &lt;BR /&gt; 2&lt;BR /&gt; &lt;BR /&gt; 3&lt;BR /&gt; &lt;BR /&gt; 4&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; Table2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Table1)&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: #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;[&lt;BR /&gt; &lt;BR /&gt; ID,A&lt;BR /&gt; &lt;BR /&gt; 1,x&lt;BR /&gt; &lt;BR /&gt; 1,y&lt;BR /&gt; &lt;BR /&gt; 2,x&lt;BR /&gt; &lt;BR /&gt; 3,z&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 20:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792365#M666106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-26T20:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: left join one record</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792366#M666108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;result Table&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 20:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792366#M666108</guid>
      <dc:creator />
      <dc:date>2014-12-26T20:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: left join one record</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792367#M666109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check my previous reply...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 20:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792367#M666109</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-12-26T20:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: left join one record</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792368#M666110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I get your result by just loading the second bulk of items by using not exists (ID)&lt;/P&gt;&lt;P&gt;LOAD * INLINE&amp;nbsp; [&lt;/P&gt;&lt;P&gt;ID, A,&lt;/P&gt;&lt;P&gt;1,X&lt;/P&gt;&lt;P&gt;1,Y&lt;/P&gt;&lt;P&gt;2,X&lt;/P&gt;&lt;P&gt;3,Z]&lt;/P&gt;&lt;P&gt;Where not Exists(ID) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 14:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792368#M666110</guid>
      <dc:creator />
      <dc:date>2014-12-27T14:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: left join one record</title>
      <link>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792369#M666111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But in the case You still need to do a left Join, here is the order to achieve the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE&amp;nbsp; [&lt;/P&gt;&lt;P&gt;ID, A,&lt;/P&gt;&lt;P&gt;1,X&lt;/P&gt;&lt;P&gt;1,Y&lt;/P&gt;&lt;P&gt;2,X&lt;/P&gt;&lt;P&gt;3,Z]&lt;/P&gt;&lt;P&gt;Where not Exists(ID) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4 ];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 15:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/left-join-one-record/m-p/792369#M666111</guid>
      <dc:creator />
      <dc:date>2014-12-27T15:00:46Z</dc:date>
    </item>
  </channel>
</rss>

