<?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 Joining 2 tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965472#M946187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview is "not responding" and the excecution never stops after I run this Left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone explain why this is happening,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:10M records&lt;/P&gt;&lt;P&gt;Table 2: 27M records&lt;/P&gt;&lt;P&gt;Server has 128 RAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see below code, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD AffiliateId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AdType, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [date(PurchaseDate)] as [Billing Purchase Date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SaleId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesServicesId&lt;/P&gt;&lt;P&gt;FROM [..\QVD Generator\2_dw\FactBillingTransactions.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (Table1)&lt;/P&gt;&lt;P&gt;LOAD SaleId,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JobId&lt;/P&gt;&lt;P&gt;FROM [..\QVD Generator\2_dw\FactSalesServices.qvd] (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Dec 2015 13:42:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-21T13:42:32Z</dc:date>
    <item>
      <title>Joining 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965472#M946187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview is "not responding" and the excecution never stops after I run this Left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone explain why this is happening,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:10M records&lt;/P&gt;&lt;P&gt;Table 2: 27M records&lt;/P&gt;&lt;P&gt;Server has 128 RAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see below code, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD AffiliateId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AdType, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [date(PurchaseDate)] as [Billing Purchase Date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SaleId, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesServicesId&lt;/P&gt;&lt;P&gt;FROM [..\QVD Generator\2_dw\FactBillingTransactions.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (Table1)&lt;/P&gt;&lt;P&gt;LOAD SaleId,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JobId&lt;/P&gt;&lt;P&gt;FROM [..\QVD Generator\2_dw\FactSalesServices.qvd] (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965472#M946187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-21T13:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Joining 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965473#M946188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the table you are joining has only two columns, have you tried using Mapping load instead of joining (if each SaleId will only have one JobId)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;MappingTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Mapping&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD SaleId, &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JobId&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM [..\QVD Generator\2_dw\FactSalesServices.qvd] (qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD AffiliateId,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AdType,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [date(PurchaseDate)] as [Billing Purchase Date],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SaleId,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesServicesId,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;ApplyMap('MappingTable', SaleId) as JobId&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM [..\QVD Generator\2_dw\FactBillingTransactions.qvd] (qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965473#M946188</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-21T13:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Joining 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965474#M946189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syntactically it looks alright.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you run your load script in debug mode and choose "Limited Load" with a low number to see if you get what you expect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965474#M946189</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2015-12-21T13:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Joining 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965475#M946190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when limiting to a few milions, the result is OK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if it's an overhead for the QV engine...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965475#M946190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-21T13:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Joining 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965476#M946191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, your solution is great - thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still intrested to understand why the first way didn't work out for me (in order to master the QV &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 13:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965476#M946191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-21T13:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Joining 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965477#M946192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't really know what is going on for your particular solution, but if you look at this blog by HIC you will see that ApplyMap can be faster than join -&amp;gt; &lt;A href="https://community.qlik.com/qlik-blogpost/2756"&gt;Don't join - use Applymap instead&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 14:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-2-tables/m-p/965477#M946192</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-21T14:02:37Z</dc:date>
    </item>
  </channel>
</rss>

