<?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: Incorrect JOIN or LOAD feature in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/Incorrect-JOIN-or-LOAD-feature/m-p/1483938#M4331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, life can be dangerous..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Apr 2014 18:10:20 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2014-04-12T18:10:20Z</dc:date>
    <item>
      <title>Incorrect JOIN or LOAD feature</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Incorrect-JOIN-or-LOAD-feature/m-p/1483935#M4328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hello to all!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my first entry &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today we look at the unusual behavior (at least in book is nothing written).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To start, download the attached file "&lt;STRONG&gt;Bad_Join.qvw&lt;/STRONG&gt;" and open (project written in 11.20.12235.0 SR5 64-bit version).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Step 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We have two tables "SALESMAN" and "SALES", and salesman Ivan added 2 times by mistake. Our task is to combine the table "SALESMAN" with "SALES".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Step 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Use "LEFT JOIN". Table's were crossed and Ivan received more sales of "Ushanka" and "Balalaika" than actually. We need a "DISTINCT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Step 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Wait, what happened to the 20 bottles of "Vodka" and 20 pieces of "Balalaika"??? Vladimir and Ivan very are angry because of this!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Step 4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Add a temporary table "SALESMAN_TMP", where use "DISTINCT". And then use "LEFT JOIN" like in Step 2. Vladimir and Ivan are no longer are mad at us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;And what in the end?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;Prefix "DISTINCT" in Step 3 applies not only to "SALESMAN", but on "SALES" and &lt;STRONG style="color: #ff0000; font-size: 16px; text-align: center;"&gt;"SALESMAN"&lt;/STRONG&gt; together!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;Be careful with that!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, that this is a bug, and not a feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #c0c0c0;"&gt;With Best Regards From Russia - Anton Sukharev.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Incorrect-JOIN-or-LOAD-feature/m-p/1483935#M4328</guid>
      <dc:creator />
      <dc:date>2025-07-23T14:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect JOIN or LOAD feature</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Incorrect-JOIN-or-LOAD-feature/m-p/1483936#M4329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anton,&lt;/P&gt;&lt;P&gt;DISTINCT in QlikView works a bit different than in SQL databases. It will effect all loaded data of the table, not only the data of the actual LOAD statement with the given DISTINCT statement. So, it's rather a behavior than a bug..&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 12:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Incorrect-JOIN-or-LOAD-feature/m-p/1483936#M4329</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-04-10T12:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect JOIN or LOAD feature</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Incorrect-JOIN-or-LOAD-feature/m-p/1483937#M4330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Ralf.&lt;/P&gt;&lt;P&gt;If this a behavior, why he did not documented? This is a very dangerous behavior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 03:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Incorrect-JOIN-or-LOAD-feature/m-p/1483937#M4330</guid>
      <dc:creator />
      <dc:date>2014-04-11T03:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect JOIN or LOAD feature</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Incorrect-JOIN-or-LOAD-feature/m-p/1483938#M4331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, life can be dangerous..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 18:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Incorrect-JOIN-or-LOAD-feature/m-p/1483938#M4331</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-04-12T18:10:20Z</dc:date>
    </item>
  </channel>
</rss>

