<?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 left join adds extra rows to the table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/left-join-adds-extra-rows-to-the-table/m-p/1915616#M75392</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have this script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Table1]:
LOAD * INLINE [
    F1, F2, F3
    123, 100, tere
    234, 200, we
    234, 300, rwerer
];


[Table2]:
LOAD * INLINE [
    F1, F4
    123, ter
    234
    234
    
];

left join (Table1)
load F1, F4
Resident Table2 where not IsNull(F4);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it results in the following table&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jduluc12_0-1649308244450.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76545i65A1E35EB9E5E7D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jduluc12_0-1649308244450.png" alt="jduluc12_0-1649308244450.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;it adds extra rows for 234.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;why is it happening and how can I prevent it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The desired output is&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;123&lt;/TD&gt;
&lt;TD width="25%"&gt;100&lt;/TD&gt;
&lt;TD width="25%"&gt;tere&lt;/TD&gt;
&lt;TD width="25%"&gt;ter&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;234&lt;/TD&gt;
&lt;TD width="25%"&gt;200&lt;/TD&gt;
&lt;TD width="25%"&gt;we&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;234&lt;/TD&gt;
&lt;TD width="25%"&gt;300&lt;/TD&gt;
&lt;TD width="25%"&gt;rwerer&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
    <pubDate>Thu, 07 Apr 2022 05:14:22 GMT</pubDate>
    <dc:creator>jduluc12</dc:creator>
    <dc:date>2022-04-07T05:14:22Z</dc:date>
    <item>
      <title>left join adds extra rows to the table</title>
      <link>https://community.qlik.com/t5/App-Development/left-join-adds-extra-rows-to-the-table/m-p/1915616#M75392</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have this script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Table1]:
LOAD * INLINE [
    F1, F2, F3
    123, 100, tere
    234, 200, we
    234, 300, rwerer
];


[Table2]:
LOAD * INLINE [
    F1, F4
    123, ter
    234
    234
    
];

left join (Table1)
load F1, F4
Resident Table2 where not IsNull(F4);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it results in the following table&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jduluc12_0-1649308244450.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76545i65A1E35EB9E5E7D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jduluc12_0-1649308244450.png" alt="jduluc12_0-1649308244450.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;it adds extra rows for 234.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;why is it happening and how can I prevent it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The desired output is&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;123&lt;/TD&gt;
&lt;TD width="25%"&gt;100&lt;/TD&gt;
&lt;TD width="25%"&gt;tere&lt;/TD&gt;
&lt;TD width="25%"&gt;ter&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;234&lt;/TD&gt;
&lt;TD width="25%"&gt;200&lt;/TD&gt;
&lt;TD width="25%"&gt;we&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;234&lt;/TD&gt;
&lt;TD width="25%"&gt;300&lt;/TD&gt;
&lt;TD width="25%"&gt;rwerer&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 07 Apr 2022 05:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/left-join-adds-extra-rows-to-the-table/m-p/1915616#M75392</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2022-04-07T05:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: left join adds extra rows to the table</title>
      <link>https://community.qlik.com/t5/App-Development/left-join-adds-extra-rows-to-the-table/m-p/1915643#M75395</link>
      <description>&lt;P&gt;Hi, seems you want to join only distinct values here, so try add this prefix, like:&lt;/P&gt;
&lt;P&gt;left join (Table1)&lt;BR /&gt;load &lt;STRONG&gt;distinct&lt;/STRONG&gt; &lt;BR /&gt;F1, F4 ...&lt;/P&gt;
&lt;P&gt;In other hand, you can try to filter not isnull(), but rather empty F4, like:&lt;/P&gt;
&lt;P&gt;... Resident Table2 where &lt;STRONG&gt;F4&amp;lt;&amp;gt;''&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;as I believe using inline these empty/null values are treated somehow strange.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 07:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/left-join-adds-extra-rows-to-the-table/m-p/1915643#M75395</guid>
      <dc:creator>justISO</dc:creator>
      <dc:date>2022-04-07T07:04:00Z</dc:date>
    </item>
  </channel>
</rss>

