<?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 Help with link table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170429#M40853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;I'm having problems with loading my application and from reading around on the forums, I think my problem is with too many synthetic keys. My problem is that the client wants pretty much everything in one application (like always...) and I'm forced to work with a lot of data at once.&lt;/P&gt;&lt;P&gt;I have at least 3 synthetic keys (when I load all the data I want in the application I actually have 4 syn keys, but I've had to reduce the number of additional tables just to get the script reload to finish) which are - in prioritized order - Date, Realm and Emailid.&lt;/P&gt;&lt;P&gt;Below is a picture of my table associations:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3276_sourceID:3276" /&gt;&lt;/P&gt;&lt;P&gt;I believe I understand the principles of the Link Tables, but I don't know what I specifically need to add to my script in order to make it work...&lt;/P&gt;&lt;P&gt;I've tried the "automatic link table script" ( &lt;A href="http://community.qlik.com/media/p/76744.aspx"&gt;http://community.qlik.com/media/p/76744.aspx&lt;/A&gt; ) but that just slows my script reload to a virtual halt.&lt;/P&gt;&lt;P&gt;Can anyone help me? I'm in a bit of a pickle as I really need to get the application to work. Thank you so much for any assistance.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Mads&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jan 2011 15:07:03 GMT</pubDate>
    <dc:creator>madsgrathe</dc:creator>
    <dc:date>2011-01-14T15:07:03Z</dc:date>
    <item>
      <title>Help with link table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170429#M40853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;I'm having problems with loading my application and from reading around on the forums, I think my problem is with too many synthetic keys. My problem is that the client wants pretty much everything in one application (like always...) and I'm forced to work with a lot of data at once.&lt;/P&gt;&lt;P&gt;I have at least 3 synthetic keys (when I load all the data I want in the application I actually have 4 syn keys, but I've had to reduce the number of additional tables just to get the script reload to finish) which are - in prioritized order - Date, Realm and Emailid.&lt;/P&gt;&lt;P&gt;Below is a picture of my table associations:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3276_sourceID:3276" /&gt;&lt;/P&gt;&lt;P&gt;I believe I understand the principles of the Link Tables, but I don't know what I specifically need to add to my script in order to make it work...&lt;/P&gt;&lt;P&gt;I've tried the "automatic link table script" ( &lt;A href="http://community.qlik.com/media/p/76744.aspx"&gt;http://community.qlik.com/media/p/76744.aspx&lt;/A&gt; ) but that just slows my script reload to a virtual halt.&lt;/P&gt;&lt;P&gt;Can anyone help me? I'm in a bit of a pickle as I really need to get the application to work. Thank you so much for any assistance.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Mads&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 15:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170429#M40853</guid>
      <dc:creator>madsgrathe</dc:creator>
      <dc:date>2011-01-14T15:07:03Z</dc:date>
    </item>
    <item>
      <title>Help with link table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170430#M40854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the code I'm trying to use to link table, but it's not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LINK_TABLE:&lt;BR /&gt;load distinct&lt;BR /&gt;Realm AS RealmKey&lt;BR /&gt;Date AS DateKey&lt;BR /&gt;emailid AS emailidKey&lt;BR /&gt;RESIDENT billing_turnover_all;&lt;BR /&gt;&lt;BR /&gt;CONCATENATE&lt;BR /&gt;&lt;BR /&gt;load distinct&lt;BR /&gt;Realm AS RealmKey&lt;BR /&gt;Date AS DateKey&lt;BR /&gt;emailid AS emailidKey&lt;BR /&gt;RESIDENT email_session;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Have I totally misunderstood the concept?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 17:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170430#M40854</guid>
      <dc:creator>madsgrathe</dc:creator>
      <dc:date>2011-01-14T17:18:20Z</dc:date>
    </item>
    <item>
      <title>Help with link table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170431#M40855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mads,&lt;/P&gt;&lt;P&gt;Your concept is right . As you are using the Same Links for different tables its giving the synthetic keys ..&lt;/P&gt;&lt;P&gt;Resident the Above link table and use more alias for the same column and drop the link table ..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chakravarthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jan 2011 18:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170431#M40855</guid>
      <dc:creator />
      <dc:date>2011-01-15T18:39:03Z</dc:date>
    </item>
    <item>
      <title>Help with link table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170432#M40856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Chakravarthy wrote:&lt;BR /&gt;Hi Mads,&lt;BR /&gt;Your concept is right . As you are using the Same Links for different tables its giving the synthetic keys ..&lt;BR /&gt;Resident the Above link table and use more alias for the same column and drop the link table ..&lt;BR /&gt;Regards,&lt;BR /&gt;Chakravarthy. &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hi Chakravarthy&lt;/P&gt;&lt;P&gt;Thank you very much for your response. I'm glad that I'm not totally off base.&lt;/P&gt;&lt;P&gt;Is there any way you can show me an example of that in specific script code? I'm not a coder, so I this scripting business is all very new to me, but I'm slowly getting the hang of it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's a screenshot of the Script Execution window, so you can see synth keys that QV automatically generates:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5852.QVSynKeys.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5852.QVSynKeys.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mads&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jan 2011 16:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170432#M40856</guid>
      <dc:creator>madsgrathe</dc:creator>
      <dc:date>2011-01-16T16:49:16Z</dc:date>
    </item>
    <item>
      <title>Help with link table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170433#M40857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 12:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170433#M40857</guid>
      <dc:creator>madsgrathe</dc:creator>
      <dc:date>2011-01-17T12:51:21Z</dc:date>
    </item>
    <item>
      <title>Help with link table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170434#M40858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mads ,&lt;/P&gt;&lt;P&gt;Let me take the example of below code ..I have two tables taken from the different sheet from a single excel .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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 style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;UserName&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;Code&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;ooxml, embedded labels, table is&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Sheet1);&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;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Name&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;Code&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;ooxml, embedded labels, table is&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Sheet2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my first &amp;amp; second table I have two common fields i.e. Date &amp;amp; Code . This is the reason why I am getting the Sythetic Key .&lt;/P&gt;&lt;P&gt;Important thing to be known here is In QlikView if the Field names are same it joins automatcally . As my tables have two common fields with the same name it forms a synthetic key.&lt;/P&gt;&lt;P&gt;To eliminate this I am aliasing (Giving other name )the field . This is shown as below . I am creating the alias for date in the table 1&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;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;UserName &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;as Sample_Date &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Code&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;ooxml, embedded labels, table is &lt;P&gt;Sheet1);&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I have renamed the date as Sample_Date . By doing this I have only one field in common . So it only links with the Code.&lt;/P&gt;&lt;P&gt;So also make a alias for the field emailid or palm so that you can eliminate this synthetic key...&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chakravarthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 13:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170434#M40858</guid>
      <dc:creator />
      <dc:date>2011-01-17T13:18:36Z</dc:date>
    </item>
    <item>
      <title>Help with link table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170435#M40859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mads , One thing I have missed in the above post.&lt;/P&gt;&lt;P&gt;If you want to link it using both the columns i.e emailid and realm you can concatenate and make it as one field .&lt;/P&gt;&lt;P&gt;emailid&amp;amp;realm as Key .&lt;/P&gt;&lt;P&gt;This also eliminates the synthetic key .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 13:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170435#M40859</guid>
      <dc:creator />
      <dc:date>2011-01-17T13:30:22Z</dc:date>
    </item>
    <item>
      <title>Help with link table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170436#M40860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mads , One thing I have missed in the above post.&lt;/P&gt;&lt;P&gt;If you want to link it using both the columns i.e emailid and realm you can concatenate and make it as one field .&lt;/P&gt;&lt;P&gt;emailid&amp;amp;realm as Key .&lt;/P&gt;&lt;P&gt;This also eliminates the synthetic key .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chakravrathy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 13:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-link-table/m-p/170436#M40860</guid>
      <dc:creator />
      <dc:date>2011-01-17T13:30:50Z</dc:date>
    </item>
  </channel>
</rss>

