<?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: Link Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162301#M910146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you throw some sample data in an excel for us? What fields are generating the synthetic keys? Is it Date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without seeing what you're doing, this is how I think I would approach this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date AS %Key_Date&lt;/P&gt;&lt;P&gt;Person:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID AS &lt;SPAN style="font-size: 13.3333px;"&gt;%Key_&lt;/SPAN&gt;LeaverID, &lt;SPAN style="font-size: 13.3333px;"&gt;PersonID AS &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;%Key_&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;StarterID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hours:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID AS &lt;SPAN style="font-size: 13.3333px;"&gt;%Key_HoursID&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Leavers:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date AS Leaver_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Starters:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date AS &lt;SPAN style="font-size: 13.3333px;"&gt;Starter&lt;/SPAN&gt;_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Marcus mentioned, you shouldn't need a link table to stop the &lt;SPAN style="font-size: 13.3333px;"&gt;synthetic keys as the model looks fairly straight forward, only make sure that each field is uniquely named (could be accomplished using QUALIFY/UNQUALIFY function). But if you must, the above should work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2016 11:08:07 GMT</pubDate>
    <dc:creator>ciaran_mcgowan</dc:creator>
    <dc:date>2016-06-21T11:08:07Z</dc:date>
    <item>
      <title>Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162296#M910141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To make a link table, do I need all the fields in the table to create one? So, I have 5 tables, calendar, person, hours, leavers and starters and I want to create a link table for them all. So, I have Date in calendar, leavers and starters and person id in person and hours. I also have person id in starters and leavers. Can I create a link field for the following and it will work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date AS&amp;nbsp; %KeyField&lt;/P&gt;&lt;P&gt;Leavers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Person id &amp;amp; Date AS %KeyField&lt;/P&gt;&lt;P&gt;Starters&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Person id &amp;amp; Date AS %KeyField&lt;/P&gt;&lt;P&gt;Hours&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Person id AS %KeyField#&lt;/P&gt;&lt;P&gt;Person&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Person id AS %KeyField&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/Link-Table/m-p/1162296#M910141</guid>
      <dc:creator>kevbrown</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162297#M910142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if you will get any benefit by using a link-table approach. Quite often work the normal associations between the tables very well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 10:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162297#M910142</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-21T10:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162298#M910143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm getting Synthetic keys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 10:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162298#M910143</guid>
      <dc:creator>kevbrown</dc:creator>
      <dc:date>2016-06-21T10:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162299#M910144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you need to rename some of the fields and/or combine some fields to a key. See also: &lt;A href="https://community.qlik.com/qlik-blogpost/3064"&gt;Synthetic Keys&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 10:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162299#M910144</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-21T10:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162300#M910145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;First, you need to concatenate the tables that are the same concept, that is, people all together, the dates and times all together ... If you have multiple types of records, generates a field that distinguishes each record.&lt;BR /&gt;Once you have that generates keys for each, uniting all in the same table, but do not call the keys with the same name, ie the key person name does not be equal to the key calendar name.&lt;BR /&gt;&lt;BR /&gt;Besides, link tables are used to join multiple fact tables, if size is better not to do this but link them to the fact table.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="alt-edited"&gt;Regards.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 10:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162300#M910145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-21T10:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162301#M910146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you throw some sample data in an excel for us? What fields are generating the synthetic keys? Is it Date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without seeing what you're doing, this is how I think I would approach this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date AS %Key_Date&lt;/P&gt;&lt;P&gt;Person:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID AS &lt;SPAN style="font-size: 13.3333px;"&gt;%Key_&lt;/SPAN&gt;LeaverID, &lt;SPAN style="font-size: 13.3333px;"&gt;PersonID AS &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;%Key_&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;StarterID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hours:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID AS &lt;SPAN style="font-size: 13.3333px;"&gt;%Key_HoursID&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Leavers:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date AS Leaver_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Starters:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date AS &lt;SPAN style="font-size: 13.3333px;"&gt;Starter&lt;/SPAN&gt;_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Marcus mentioned, you shouldn't need a link table to stop the &lt;SPAN style="font-size: 13.3333px;"&gt;synthetic keys as the model looks fairly straight forward, only make sure that each field is uniquely named (could be accomplished using QUALIFY/UNQUALIFY function). But if you must, the above should work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 11:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table/m-p/1162301#M910146</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2016-06-21T11:08:07Z</dc:date>
    </item>
  </channel>
</rss>

