<?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. :Need help on Link Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-on-Link-Tables/m-p/171282#M41340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if your four fields define your primary key, you have to do something like that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;hash128(CLIENT_DIM_KEY, OS_DIM_KEY, OS_LANGUAGE_KEY, OS_COUNTRY_KEY) as FactKey,&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;autonumber(CLIENT_DIM_KEY &amp;amp;'_'&amp;amp; OS_DIM_KEY &amp;amp;'_'&amp;amp; OS_LANGUAGE_KEY &amp;amp;'_'&amp;amp; OS_COUNTRY_KEY) as FactKey,&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;CLIENT_DIM_KEY &amp;amp;'_'&amp;amp; OS_DIM_KEY &amp;amp;'_'&amp;amp; OS_LANGUAGE_KEY &amp;amp;'_'&amp;amp; OS_COUNTRY_KEY as FactKey,&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Copy this code into your both facts tables and suppress the four fields (CLIENT_DIM_KEY, OS_DIM_KEY, OS_LANGUAGE_KEY, OS_COUNTRY_KEY) into one of them.&lt;/P&gt;&lt;P&gt;Hope that helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Aug 2010 14:39:14 GMT</pubDate>
    <dc:creator>martin59</dc:creator>
    <dc:date>2010-08-23T14:39:14Z</dc:date>
    <item>
      <title>Need help on Link Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Link-Tables/m-p/171281#M41339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to create a link table for my 2 Facts and 5 dim tables but i am not getting exactly how the link table gets created .&lt;/P&gt;&lt;P&gt;Can any one please give me a sample code as how to create link table or&lt;/P&gt;&lt;P&gt;Help me to modify my qvw file to avoid the synthatic keys and create a linked table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rashmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 12:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Link-Tables/m-p/171281#M41339</guid>
      <dc:creator />
      <dc:date>2010-08-23T12:56:40Z</dc:date>
    </item>
    <item>
      <title>Re. :Need help on Link Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Link-Tables/m-p/171282#M41340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if your four fields define your primary key, you have to do something like that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;hash128(CLIENT_DIM_KEY, OS_DIM_KEY, OS_LANGUAGE_KEY, OS_COUNTRY_KEY) as FactKey,&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;autonumber(CLIENT_DIM_KEY &amp;amp;'_'&amp;amp; OS_DIM_KEY &amp;amp;'_'&amp;amp; OS_LANGUAGE_KEY &amp;amp;'_'&amp;amp; OS_COUNTRY_KEY) as FactKey,&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;CLIENT_DIM_KEY &amp;amp;'_'&amp;amp; OS_DIM_KEY &amp;amp;'_'&amp;amp; OS_LANGUAGE_KEY &amp;amp;'_'&amp;amp; OS_COUNTRY_KEY as FactKey,&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Copy this code into your both facts tables and suppress the four fields (CLIENT_DIM_KEY, OS_DIM_KEY, OS_LANGUAGE_KEY, OS_COUNTRY_KEY) into one of them.&lt;/P&gt;&lt;P&gt;Hope that helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 14:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Link-Tables/m-p/171282#M41340</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-08-23T14:39:14Z</dc:date>
    </item>
    <item>
      <title>Re. :Need help on Link Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Link-Tables/m-p/171283#M41341</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;what Martin told is correct. I added the code. Depending on the Facttable which you want to use, comment the KEYS on the other one. I did comment in one of your facttable as an example. check it.&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.49.52/TestRashmi.qvw]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 15:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Link-Tables/m-p/171283#M41341</guid>
      <dc:creator />
      <dc:date>2010-08-23T15:46:53Z</dc:date>
    </item>
    <item>
      <title>Re. :Need help on Link Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Link-Tables/m-p/171284#M41342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Martin and Sravan,&lt;/P&gt;&lt;P&gt;I appreciate your help but my problem is i don't want to link these fact tables they are separate and not related to each other that's why I thought of link table so that all dim tables will be linked to my link table and then fact table will again link to link table. but i am not getting how to create a link table&lt;/P&gt;&lt;P&gt;Please suggest me any good option to achieve this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 06:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Link-Tables/m-p/171284#M41342</guid>
      <dc:creator />
      <dc:date>2010-08-24T06:02:54Z</dc:date>
    </item>
  </channel>
</rss>

