<?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 not loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271349#M859938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So in worst case, this could lead to a resulting table with record number in the order of 1E12?&lt;/P&gt;&lt;P&gt;(Probably not that much in real case, but may explain why your computer freezes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you trying to achieve? Maybe there is a better solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2017 14:25:58 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-01-18T14:25:58Z</dc:date>
    <item>
      <title>Left join not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271346#M859935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables that I am trying to join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First one has 3M rows and Second 2.8 M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the script am trying to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUALIFY*;&lt;/P&gt;&lt;P&gt;UNQUALIFY OPRID;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;JANJOIN:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;LOAD OPRID, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROLENAME, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLASSID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MENUNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM JanJoin.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUALIFY*;&lt;/P&gt;&lt;P&gt;UNQUALIFY OPRID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (JANJOIN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD OPRID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROLENAME, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLASSID, y&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MENUNAME&lt;/P&gt;&lt;P&gt;FROM MayJoin.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It fetches all rows in 20 seconds and than in freezes up every time I try to load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something wrong with the script or is it a memory limitation issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271346#M859935</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Left join not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271347#M859936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a one to one join or is this one to many or many to many join?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271347#M859936</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-18T14:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Left join not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271348#M859937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;many to many&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271348#M859937</guid>
      <dc:creator />
      <dc:date>2017-01-18T14:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Left join not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271349#M859938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So in worst case, this could lead to a resulting table with record number in the order of 1E12?&lt;/P&gt;&lt;P&gt;(Probably not that much in real case, but may explain why your computer freezes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you trying to achieve? Maybe there is a better solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271349#M859938</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-18T14:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Left join not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271350#M859939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to find out which new users were added between May and Jan (OPRID is a username).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing: there is multiple criteria for those users&amp;nbsp; (e.g. AccountDisabled &amp;lt;&amp;gt;1, etc). This is all stored in different tables.&lt;/P&gt;&lt;P&gt;In order to get that I ran MayJoin and JanJoin queries in Access. These were LEFT JOINS of 4 tables. Hence the number of records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271350#M859939</guid>
      <dc:creator />
      <dc:date>2017-01-18T14:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Left join not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271351#M859940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But basically, shouldn't you end up with two list of users, one for Jan and one for May, with a single record per user? Why are you coping with multiple records per user? And why are you trying to join the tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are multiple ways to identify new customers, script or front end based, and you can find examples in the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/14707"&gt;New customer analysis using set analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271351#M859940</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-18T14:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Left join not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271352#M859941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to mention I also need to do another Join which will give New Roles for Existing Users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let's say Each User has multiple Menus and Each Menu has Multiple Roles.&lt;/P&gt;&lt;P&gt;That is why ended up with multiple user rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271352#M859941</guid>
      <dc:creator />
      <dc:date>2017-01-18T14:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Left join not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271353#M859942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, probably I over simplified what you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, as stated above I think your join will need to much memory / create too many rows.&lt;/P&gt;&lt;P&gt;You can test this by limiting your two tables to a subset of records (e.g. using FIRST ... prefix or a WHERE clause). Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIRST 100&lt;/P&gt;&lt;P&gt;LOAD Key, ....&lt;/P&gt;&lt;P&gt;FROM A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN&lt;/P&gt;&lt;P&gt;LOAD Key, ....&lt;/P&gt;&lt;P&gt;FROM B&lt;/P&gt;&lt;P&gt;WHERE EXISTS(Key);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-not-loading/m-p/1271353#M859942</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-18T14:54:29Z</dc:date>
    </item>
  </channel>
</rss>

