<?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 Natural Join Problem - not joining rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Natural-Join-Problem-not-joining-rows/m-p/223035#M712537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe it would be done by Group by clause. Something like&lt;/P&gt;&lt;P&gt;join(link)&lt;/P&gt;&lt;P&gt;max(store), date, product&lt;/P&gt;&lt;P&gt;load from [ ]&lt;/P&gt;&lt;P&gt;group by date, product;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2011 09:10:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-20T09:10:43Z</dc:date>
    <item>
      <title>Natural Join Problem - not joining rows</title>
      <link>https://community.qlik.com/t5/QlikView/Natural-Join-Problem-not-joining-rows/m-p/223033#M712535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a Link Table from multiple fact tables. I am basically using JOIN to get the combined keys in the same rows with their common parts. But it seems that some of these parts are creating new rows even when the like columns have the same information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am ending up with a link table like this:&lt;/P&gt;&lt;P&gt;KeyStoreDateProd KeyDateProduct Store Date Product&lt;/P&gt;&lt;P&gt;1 456 1/2/2000 123&lt;/P&gt;&lt;P&gt;1 1/2/2000 123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of this:&lt;/P&gt;&lt;P&gt;KeyStoreDateProd KeyDateProduct Store Date Product&lt;/P&gt;&lt;P&gt;1 1 456 1/2/2000 123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The kicker is that the behavior is not consistent. Some rows are merging properly and others are being added. Is there any behavior or loading protocols I should be looking for? I am using: JOIN (LinkTable) LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 07:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Natural-Join-Problem-not-joining-rows/m-p/223033#M712535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-20T07:16:01Z</dc:date>
    </item>
    <item>
      <title>Natural Join Problem - not joining rows</title>
      <link>https://community.qlik.com/t5/QlikView/Natural-Join-Problem-not-joining-rows/m-p/223034#M712536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aaron,&lt;/P&gt;&lt;P&gt;In QlikView, a JOIN is very similar to a SQL OUTER JOIN, so in the case above, if you have two different lines with KeyStoreDateProd and KeyDateProduct with value 1, the JOIN LOAD will create all possible combinations of both.&lt;/P&gt;&lt;P&gt;If you have two keyfields, I'd create one composite keyfield, so the combination of all possible values is done on one field only, instead of two or more.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 07:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Natural-Join-Problem-not-joining-rows/m-p/223034#M712536</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-04-20T07:43:31Z</dc:date>
    </item>
    <item>
      <title>Natural Join Problem - not joining rows</title>
      <link>https://community.qlik.com/t5/QlikView/Natural-Join-Problem-not-joining-rows/m-p/223035#M712537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe it would be done by Group by clause. Something like&lt;/P&gt;&lt;P&gt;join(link)&lt;/P&gt;&lt;P&gt;max(store), date, product&lt;/P&gt;&lt;P&gt;load from [ ]&lt;/P&gt;&lt;P&gt;group by date, product;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 09:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Natural-Join-Problem-not-joining-rows/m-p/223035#M712537</guid>
      <dc:creator />
      <dc:date>2011-04-20T09:10:43Z</dc:date>
    </item>
  </channel>
</rss>

