<?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: Data modeling and auto join(Synthetic keys) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752968#M268305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If tables are linked properly then filters should work across the tables. And in your case it seems most of the fields are same, so I suggest you to concatenate. You are getting synthetic keys because of more than one column name is similar in two tables. &lt;/P&gt;&lt;P&gt;We would be in better position to help you by looking into your app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Navdeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Nov 2014 16:28:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-16T16:28:19Z</dc:date>
    <item>
      <title>Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752959#M268296</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 facing same problem with data model. I have 4-5 de-normalized table. each are with 9-10 common different fields.&lt;/P&gt;&lt;P&gt;So what is the problem . Qlikview is taking auto join b/w them. So, my data is not coming properly.&lt;/P&gt;&lt;P&gt;it is creating multiple synthetic keys.&lt;/P&gt;&lt;P&gt;Please,Give me a solution.&lt;/P&gt;&lt;P&gt;ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 15:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752959#M268296</guid>
      <dc:creator />
      <dc:date>2014-11-15T15:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752960#M268297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if the field are same then qlikview takes autoconcatenation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to avoid this go for&amp;nbsp;&amp;nbsp; noconcatenation&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;from table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;noconcatenation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from table2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 16:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752960#M268297</guid>
      <dc:creator />
      <dc:date>2014-11-15T16:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752961#M268298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;qlik join by field name&lt;/P&gt;&lt;P&gt;if you rename the fields in the load, you can change/eliminate all the join &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and start with a model with no join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;then&amp;nbsp; you have to add the association you want to your model&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;tab0:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;field1, field2, field3, ...., field10,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;field7 &amp;amp; '-' &amp;amp; field9 as &lt;STRONG&gt;fieldjoinnew&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;from ....;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;tab1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1 as field1new,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // remove association with tab0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field2 as field2new,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // remove association with tab0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .......&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f&lt;SPAN style="font-size: 13.63636302948px;"&gt;ield7 &amp;amp; '-' &amp;amp; field9 as &lt;STRONG&gt;fieldjoinnew&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;// new association with tab0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.63636302948px;"&gt;from .....;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 16:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752961#M268298</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-15T16:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752962#M268299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have two options on how to create the model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Concatenate all the tables into one single table. Preferably add some column like RowType that differs between the lines. This can later be used in set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Either manually rename columns or use the qualify command. This will make field names unique. You probably want some keys to be unqualified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 17:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752962#M268299</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2014-11-15T17:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752963#M268300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But in this solution, will same filter work on both?&lt;/P&gt;&lt;P&gt;Like I have brand as common field in b/w 2 table.&lt;/P&gt;&lt;P&gt;And I have used no concatenation that time.&lt;/P&gt;&lt;P&gt;I want to filter by brand then it will work?&lt;/P&gt;&lt;P&gt;thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 05:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752963#M268300</guid>
      <dc:creator />
      <dc:date>2014-11-16T05:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752964#M268301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will link table work in my case?&lt;/P&gt;&lt;P&gt;If yes then can you give me any source to refer link table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 05:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752964#M268301</guid>
      <dc:creator />
      <dc:date>2014-11-16T05:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752965#M268302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qliktips.com/2014/08/update-to-link-table-rules.html" title="http://www.qliktips.com/2014/08/update-to-link-table-rules.html"&gt;Qlik Tips: Update to Link Table rules&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.learnallbi.com/link-table-in-qlikview/" title="http://www.learnallbi.com/link-table-in-qlikview/"&gt;Link Table in QlikView | Learn QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 10:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752965#M268302</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-16T10:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752966#M268303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;When designing a datamodel in Qlikview, circular reference is quite a common thing.&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;There are several solutions to prevent such loops like the concatenate function or link table. Although the best solution to fix circular reference depends on the situation, I personally prefer the link table most of the times. When you have two fact tables for example, which shares more then one dimension, it means there is circular reference.&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;&lt;A href="http://www.quickqlearqool.nl/wp-content/uploads/2009/10/picture11.JPG" style="color: #333333;"&gt;&lt;IMG alt="picture1" class="wp-image-918 size-medium aligncenter jiveImage" height="239" src="http://www.quickqlearqool.nl/wp-content/uploads/2009/10/picture11-300x239.jpg" style="border: none; margin-left: auto; margin-right: auto; margin-bottom: 10px;" title="picture1" width="300" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;To prevent this situation we could use the concatenate function to create one major facttable. You could consider this solution when both tables have many similarities. When using the concatenate function, always dwell on the fact that, if the measure fields in both facttables are the same, calculations will cover all records of the table. Of course there is the possibility to create a field and specify the facttype so you can select ‘Fact1’ or ‘Fact2’ and use set analysis in your expressions but I think it’s clear that this isn’t an easy solution when the records always need to be separated in all expressions.&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;Example 1: Concatenate two fact tables.&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;//**************************************************************************&lt;BR /&gt;// FACT TABLE&lt;BR /&gt;//**************************************************************************&lt;BR /&gt;FACT:&lt;BR /&gt;load&lt;BR /&gt;‘Fact1’&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS Facttype&lt;BR /&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %KEY_FACT1_ID&lt;BR /&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; Measure&lt;BR /&gt;From……&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;CONCATENATE&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;load&lt;BR /&gt;‘Fact2’&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS Facttype&lt;BR /&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %KEY_FACT2_ID&lt;BR /&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; Measure&lt;BR /&gt;From……&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;What about concatenate if the fields in the facttables are quite different? Rationally this does not seem to be a good idea is it? Let’s demonstrate this with an example of two different processes.&amp;nbsp; The facts are:&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;- The purchase of products&lt;BR /&gt;- The selling of products&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;When loading the original datamodel, Qlikview has to create a synthetic key because the dimensions date and product are shared. Although the synthetic key in this situation works fine, it’s better to prevent this.&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;&lt;A href="http://www.quickqlearqool.nl/wp-content/uploads/2009/10/picture3.JPG" style="color: #333333;"&gt;&lt;IMG alt="picture3" class="size-medium aligncenter jiveImage wp-image-935" height="162" src="http://www.quickqlearqool.nl/wp-content/uploads/2009/10/picture3-300x162.jpg" style="border: none; margin-left: auto; margin-right: auto; margin-bottom: 10px;" title="picture3" width="300" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;When we concatenate the purchase and selling table, the synthetic key is gone and the problem is solved. Allthough naturally this just doesn’t feel like the ‘right’ way, there is no difference for the end user because the interface of Qlikview works on attribute level. For Qlikview, this is best practice and a good way of solving circular reference. Keep in mind that, for solutions with many tables, the overall picture for the developer is getting less clear. In that case it’s better (in my opinion) to use link tables.&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;&lt;A href="http://www.quickqlearqool.nl/wp-content/uploads/2009/10/picture4.JPG" style="color: #333333;"&gt;&lt;IMG alt="picture4" class="size-medium aligncenter wp-image-936 jiveImage" height="236" src="http://www.quickqlearqool.nl/wp-content/uploads/2009/10/picture4-300x236.jpg" style="border: none; margin-left: auto; margin-right: auto; margin-bottom: 10px;" title="picture4" width="300" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;The use of Link Tables&lt;/STRONG&gt;&lt;BR /&gt;With the use of link tables, it’s possible to keep the facttables separated from each other. The advantage of this solution is that there is no need for set analysis when doing calculations for fact 1 or fact 2 when they share the same measure. Another reason for choosing this method is to keep the datamodel a logical one.&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;&lt;A href="http://www.quickqlearqool.nl/wp-content/uploads/2009/10/picture2.JPG" style="color: #333333;"&gt;&lt;IMG alt="picture2" class="size-medium wp-image-913 aligncenter jiveImage" height="265" src="http://www.quickqlearqool.nl/wp-content/uploads/2009/10/picture2-300x265.jpg" style="border: none; margin-left: auto; margin-right: auto; margin-bottom: 10px;" title="picture2" width="300" /&gt;&lt;/A&gt;The link table contains the key fields of the facts and dimensions. It is likely that the two fact tables don’t have the same keyfields. We can use both unique key fields and give them the same fieldname in the linktable to create a unique id for each record. Because Qlikview loaded all necessary keys in the facttables, we can simply use a resident load. Below shows an example of a linktable. As you can see, I use %% to indicate it’s a key for the dimension and % for the fact.&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;//**************************************************************************&lt;BR /&gt;// LINK TABLE&lt;BR /&gt;//**************************************************************************&lt;BR /&gt;LNK_TABLE:&lt;BR /&gt;load distinct&lt;BR /&gt;%KEY_FACT1_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %KEY_LNK_ID&lt;BR /&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; %KEY_DIM1_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %%KEY_DIM1_ID&lt;BR /&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; %KEY_DIM2_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %%KEY_DIM2_ID&lt;BR /&gt;RESIDENT Fct1;&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;CONCATENATE&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;load distinct&lt;BR /&gt;%KEY_FACT2_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %KEY_LNK_ID&lt;BR /&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; %KEY_DIM1_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %%KEY_DIM_ID&lt;BR /&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; %KEY_DIM2_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS %%KEY_DIM2_ID&lt;BR /&gt;RESIDENT Fct2;&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;Automated Link script&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 18px; color: #555555; font-family: 'Century Gothic', 'Avant Garde', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;In the &lt;A href="http://community.qlikview.com/media/p/76744.aspx" style="color: #333333;"&gt;share Qlikviews section&lt;/A&gt; of the QlikCommunity you can find a script from Lars Christensen that automatically creates a linktable and removes synthetic keys from “any” combination of tables. Using this code in our example brings the following model:&lt;BR /&gt;&lt;A href="http://www.quickqlearqool.nl/wp-content/uploads/2009/10/picture5.JPG" style="color: #333333;"&gt;&lt;IMG alt="picture5" class="size-medium aligncenter jiveImage wp-image-937" height="140" src="http://www.quickqlearqool.nl/wp-content/uploads/2009/10/picture5-300x140.jpg" style="border: none; margin-left: auto; margin-right: auto; margin-bottom: 10px;" title="picture5" width="300" /&gt;&lt;/A&gt;&lt;BR /&gt;Bear in mind, use carefully, and don’t trust it is working 100% until you have verified your data -&amp;nbsp; this is experimental code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 15:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752966#M268303</guid>
      <dc:creator />
      <dc:date>2014-11-16T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752967#M268304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A link table would work too, but is probably challenging if you have ten key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure it doesn't work to concatenate the data instead? That would be much easier if it works. Do you need to mix values from different tables in the same aggregation (sum/count/etc)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 15:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752967#M268304</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2014-11-16T15:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752968#M268305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If tables are linked properly then filters should work across the tables. And in your case it seems most of the fields are same, so I suggest you to concatenate. You are getting synthetic keys because of more than one column name is similar in two tables. &lt;/P&gt;&lt;P&gt;We would be in better position to help you by looking into your app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Navdeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 16:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752968#M268305</guid>
      <dc:creator />
      <dc:date>2014-11-16T16:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling and auto join(Synthetic keys)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752969#M268306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. I need different values from several tables.&lt;/P&gt;&lt;P&gt;that's why concatenate may not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 05:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modeling-and-auto-join-Synthetic-keys/m-p/752969#M268306</guid>
      <dc:creator />
      <dc:date>2014-11-17T05:10:43Z</dc:date>
    </item>
  </channel>
</rss>

