<?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 Linking tables in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895557#M655836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my model i have three tables:&lt;/P&gt;&lt;P&gt;Sales, Delivery_points, Customers (Structure in attachment)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What i need?&lt;/STRONG&gt; In load script make one table from these three, which much have following fields:&lt;/P&gt;&lt;P&gt;ChainConnection,&lt;/P&gt;&lt;P&gt;DeliveryPoint_id,&lt;/P&gt;&lt;P&gt;Nomenclature_id&lt;/P&gt;&lt;P&gt;Дата,&lt;/P&gt;&lt;P&gt;YearMonth,&lt;/P&gt;&lt;P&gt;Количество шт.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tell me please, how to make it?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2015 18:27:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-15T18:27:19Z</dc:date>
    <item>
      <title>Linking tables in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895557#M655836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my model i have three tables:&lt;/P&gt;&lt;P&gt;Sales, Delivery_points, Customers (Structure in attachment)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What i need?&lt;/STRONG&gt; In load script make one table from these three, which much have following fields:&lt;/P&gt;&lt;P&gt;ChainConnection,&lt;/P&gt;&lt;P&gt;DeliveryPoint_id,&lt;/P&gt;&lt;P&gt;Nomenclature_id&lt;/P&gt;&lt;P&gt;Дата,&lt;/P&gt;&lt;P&gt;YearMonth,&lt;/P&gt;&lt;P&gt;Количество шт.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tell me please, how to make it?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 18:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895557#M655836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-15T18:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895558#M655837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Join statement to join them into one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Sales;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join(Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Delivery_points;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join(Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Customers;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 18:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895558#M655837</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-15T18:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895559#M655838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure how big your data is and cannot see your subset ration either, but you can try to join the table as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delivery_points&lt;/P&gt;&lt;P&gt;Left Join(Sales)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers&lt;/P&gt;&lt;P&gt;Left Join(Sales)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 18:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895559#M655838</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-06-15T18:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895560#M655839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Before joining tables we must consider &lt;/P&gt;&lt;P&gt;What type of relationship exists between two tables (one to one,one to many,many to one,many to many). I guess relationship between "sales" and "delivery points" is many to many as multiple customers can share same delivery point and on the other hand multiple sales occur in same delivery point. So be cautious while connecting sales with delivery points table by left join as it will increase number of rows of left table(sales).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2018 09:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895560#M655839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-29T09:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895561#M655840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-userid="162245" data-username="andreyfcdk91" href="https://community.qlik.com/people/andreyfcdk91" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7;"&gt;Андрей Шепель&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Try like this.&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15383882034536840" jivemacro_uid="_15383882034536840"&gt;
&lt;P&gt;Sales:&lt;/P&gt;
&lt;P&gt;LOAD DeliveryPoint_id, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Дата, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nomenclature_id, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YearMonth, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Количество шт.]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;Book1.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sales);&lt;/P&gt;
&lt;P&gt;JOIN (Sales) // left join (Sales)&lt;/P&gt;
&lt;P&gt;Delivery_points:&lt;/P&gt;
&lt;P&gt;LOAD DeliveryPoint_id, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer_Id&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;Book1.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Delivery_points);&lt;/P&gt;
&lt;P&gt;JOIN (Sales) // left join (Sales)&lt;/P&gt;
&lt;P&gt;Customers:&lt;/P&gt;
&lt;P&gt;LOAD Customer_Id, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer_Id_EDI, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Количество шт. OCHOBHON], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ChainConnection&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;Book1.xlsx&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;(ooxml, embedded labels, table is Customers);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214793_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/214794_2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/214795_3.PNG" style="height: 261px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 10:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-in-load-script/m-p/895561#M655840</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2018-10-01T10:03:26Z</dc:date>
    </item>
  </channel>
</rss>

