<?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: What is link table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707757#M254959</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;If you have two tables like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;ProductID&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;/P&gt;&lt;P&gt;ProductID&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;Budget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have more than one column in common, so if we join two tables synthetic will be generated (since we have ProductID and Month in both tables).&amp;nbsp; It is not advisable a datamodel with Synthetic keys.&amp;nbsp; To overcome this scenario we can use Link Table.&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;ProductID &amp;amp; '_'&amp;amp; Month AS Key,&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;FROM Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ProductID &amp;amp; '_'&amp;amp; Month AS Key,&lt;/P&gt;&lt;P&gt;Budget&lt;/P&gt;&lt;P&gt;FROM Budget;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT &lt;/P&gt;&lt;P&gt;ProductID &amp;amp; '_'&amp;amp; Month AS Key,&lt;/P&gt;&lt;P&gt;ProductID,&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;FROM Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(LinkTable)&lt;/P&gt;&lt;P&gt;LOAD DISTINCT &lt;/P&gt;&lt;P&gt;ProductID &amp;amp; '_'&amp;amp; Month AS Key,&lt;/P&gt;&lt;P&gt;ProductID,&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;FROM Budget;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 06:45:05 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-10-28T06:45:05Z</dc:date>
    <item>
      <title>What is link table?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707754#M254956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is link table ,how to create that table and what is the use of that table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 05:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707754#M254956</guid>
      <dc:creator>d_koti24</dc:creator>
      <dc:date>2014-10-28T05:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is link table?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707755#M254957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go through the attached document for the Link tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 05:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707755#M254957</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-28T05:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: What is link table?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707756#M254958</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;Check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/05/17/concatenate-vs-link-table"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/05/17/concatenate-vs-link-table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 06:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707756#M254958</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-28T06:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: What is link table?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707757#M254959</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;If you have two tables like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;ProductID&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;/P&gt;&lt;P&gt;ProductID&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;Budget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have more than one column in common, so if we join two tables synthetic will be generated (since we have ProductID and Month in both tables).&amp;nbsp; It is not advisable a datamodel with Synthetic keys.&amp;nbsp; To overcome this scenario we can use Link Table.&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;ProductID &amp;amp; '_'&amp;amp; Month AS Key,&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;FROM Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ProductID &amp;amp; '_'&amp;amp; Month AS Key,&lt;/P&gt;&lt;P&gt;Budget&lt;/P&gt;&lt;P&gt;FROM Budget;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT &lt;/P&gt;&lt;P&gt;ProductID &amp;amp; '_'&amp;amp; Month AS Key,&lt;/P&gt;&lt;P&gt;ProductID,&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;FROM Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(LinkTable)&lt;/P&gt;&lt;P&gt;LOAD DISTINCT &lt;/P&gt;&lt;P&gt;ProductID &amp;amp; '_'&amp;amp; Month AS Key,&lt;/P&gt;&lt;P&gt;ProductID,&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;FROM Budget;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 06:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707757#M254959</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-28T06:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: What is link table?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707758#M254960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For more explanation you can go for the small example to under stand the link tables with simple example. Here is Three tables Sales, Budget and Customer and with the link tables they are connected to each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD Year&amp;amp;'_'&amp;amp;Month&amp;amp;'_'&amp;amp;[Customer Number] as Key,[Sale Amt],Year,Month,[Customer Number];&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year, Month, Customer Number, Sale Amt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013, 4, A, 15874&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014, 5, B, 12569 &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;/P&gt;&lt;P&gt;LOAD Year&amp;amp;'_'&amp;amp;Month&amp;amp;'_'&amp;amp;[Customer Number] as Key,[Budget Amt],Year,Month,[Customer Number];&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year, Month, Customer Number, Budget Amt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013, 4, A, 45000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014, 5, B, 46000 &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Customer NO,Customer Name&lt;/P&gt;&lt;P&gt;A,Kim&lt;/P&gt;&lt;P&gt;B,Saun ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;LOAD Key,Year as YEAR,Month as MONTH,[Customer Number] as [Customer NO] Resident Sales;&lt;/P&gt;&lt;P&gt;LOAD Key,Year AS YEAR,Month AS MONTH,[Customer Number] as [Customer NO] Resident Budget;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Fields Year,Month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SalesTable: &lt;/P&gt;&lt;P&gt;LOAD Key,[Sale Amt] Resident Sales;&lt;/P&gt;&lt;P&gt;DROP Table Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BudgetTable:&lt;/P&gt;&lt;P&gt;LOAD Key,[Budget Amt] Resident Budget;&lt;/P&gt;&lt;P&gt;DROP Table Budget;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 07:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707758#M254960</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-28T07:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: What is link table?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707759#M254961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/05/17/concatenate-vs-link-table" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/05/17/concatenate-vs-link-table"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/05/17/concatenate-vs-link-table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 07:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-link-table/m-p/707759#M254961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-28T07:13:58Z</dc:date>
    </item>
  </channel>
</rss>

