<?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: Issue with left Join in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506542#M21835</link>
    <description>&lt;P&gt;See:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/Don-t-join-use-Applymap-instead/ba-p/1467592" target="_blank"&gt;Don't join - use Applymap instead - Qlik Community - 1467592&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 08:35:13 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2025-02-19T08:35:13Z</dc:date>
    <item>
      <title>Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506535#M21834</link>
      <description>&lt;P&gt;Suppose I have 2 tables. First Table has 16483 rows and Second table has 21483. When I use left join rows count increased and rows are 89137. How to handle the duplication and records will still same.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 07:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506535#M21834</guid>
      <dc:creator>Vikash2024</dc:creator>
      <dc:date>2025-02-19T07:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506542#M21835</link>
      <description>&lt;P&gt;See:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/Don-t-join-use-Applymap-instead/ba-p/1467592" target="_blank"&gt;Don't join - use Applymap instead - Qlik Community - 1467592&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 08:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506542#M21835</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-02-19T08:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506544#M21836</link>
      <description>&lt;P&gt;Join merges tables using common fields.&lt;BR /&gt;If a row in the left table matches several rows in the right table the rows will be multiplied.&lt;BR /&gt;In theory you could end up with&amp;nbsp;&lt;SPAN&gt;16 483 * 21 483 =&amp;nbsp;354&amp;nbsp;104&amp;nbsp;289 rows (though unlikely).&lt;BR /&gt;Like Marcus says, ApplyMap is a safer alternative but could be cumbersome if you want many columns.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 08:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506544#M21836</guid>
      <dc:creator>Anders_Eriksson</dc:creator>
      <dc:date>2025-02-19T08:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506566#M21838</link>
      <description>&lt;P&gt;Can you provide me the example of ApplyMap() instead of using Left Join?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 10:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506566#M21838</guid>
      <dc:creator>Vikash2024</dc:creator>
      <dc:date>2025-02-19T10:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506572#M21839</link>
      <description>&lt;P&gt;There is one included within the above provided link.&lt;/P&gt;
&lt;P&gt;I suggest to start with such simple approach by using one field as lookup and one as return - to comprehend the logic. If it's understood and be working you may extend it if necessary by string-concatenating n lookup- und n return-fields, like:&lt;/P&gt;
&lt;P&gt;m: mapping load F1 &amp;amp; '|' &amp;amp; F2, F3 &amp;amp; '|' &amp;amp; F4 from X;&lt;/P&gt;
&lt;P&gt;t: load *, subfield(applymap('m',&amp;nbsp;F1 &amp;amp; '|' &amp;amp; F2, 'myDefault'), '|', 1) as F3 from Y;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 10:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506572#M21839</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-02-19T10:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506630#M21841</link>
      <description>&lt;P&gt;Use Qlik Help!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 14:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506630#M21841</guid>
      <dc:creator>Anders_Eriksson</dc:creator>
      <dc:date>2025-02-19T14:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506661#M21842</link>
      <description>&lt;P&gt;ApplyMap() can only map &lt;STRONG data-start="443" data-end="460"&gt;single values&lt;/STRONG&gt; based on a key. Suppose that A customer may have multiple invoices, and you want to pull &lt;STRONG data-start="826" data-end="842"&gt;all invoices&lt;/STRONG&gt; for a given customer&amp;nbsp;&lt;STRONG data-start="867" data-end="888"&gt;With ApplyMap()&lt;/STRONG&gt;&amp;nbsp;It would only retrieve the first match found for the customer ID. What about the rest of invoices.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 17:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506661#M21842</guid>
      <dc:creator>Vikash2024</dc:creator>
      <dc:date>2025-02-19T17:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506724#M21846</link>
      <description>&lt;P&gt;The fact that applymap() fetched always only the first match isn't a restriction else a quite powerful feature because it enables for example the possibility to use vertically nested hierarchy mappings.&lt;/P&gt;
&lt;P&gt;And by all the "classical" use-cases you have only one key-value.&amp;nbsp;If there is more as a single key-value it would mean that's the wrong key (more and/or other fields has to be combined) and/or the direction of the usage is not suitable.&lt;/P&gt;
&lt;P&gt;For your scenario it means that you should add customer-information to the invoices and not the revers way - respectively you may skip this measurement entirely. Because invoices are facts and customers are dimensions and within a normal star-scheme data-model it won't be necessary to have (granular) invoice-information within the customers.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 06:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506724#M21846</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-02-20T06:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506747#M21848</link>
      <description>&lt;P&gt;In My case there is one to many relation.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 08:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506747#M21848</guid>
      <dc:creator>Vikash2024</dc:creator>
      <dc:date>2025-02-20T08:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506753#M21850</link>
      <description>&lt;P&gt;I think it's logically the wrong direction and not helpful or necessary.&lt;/P&gt;
&lt;P&gt;The facts must have some kind of a Customer-ID and with this and an associated Customer-Table you could show all usual sum() and count() views in regard to the customers.&lt;/P&gt;
&lt;P&gt;If there are further requirements like creating information of the order of the invoices and there date-offset to each other and/or the first/latest one - they belong to the fact-table or might be from there derived within an separate extra table. If any kind of customer-classification in regard to the frequency or amount of invoices and so on is wanted - they have to be at first aggregated from the facts and could be then added to the customers.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 08:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506753#M21850</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-02-20T08:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with left Join</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506770#M21852</link>
      <description>&lt;P&gt;Ok thanks for the help. I will try again ApplyMap().&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 10:07:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Issue-with-left-Join/m-p/2506770#M21852</guid>
      <dc:creator>Vikash2024</dc:creator>
      <dc:date>2025-02-20T10:07:28Z</dc:date>
    </item>
  </channel>
</rss>

