<?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 Composite Keys and Synthetic Keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Composite-Keys-and-Synthetic-Keys/m-p/237335#M88394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Hi have a data structure that create Synthetic keys based on key dimensions, but also other Synthetic keys based on other Synthetic key, causing slow performances (the biggest fact table has 50000 rows).&lt;/P&gt;&lt;P&gt;The last steps of script running highlights the situation:&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/-2578_sourceID:2578" /&gt;&lt;/P&gt;&lt;P style="/forums/AddPost.aspx/margin-bottom: 0cm"&gt;I have my facts that refers to the product dimensions at different levels:&lt;/P&gt;&lt;P style="/forums/AddPost.aspx/margin-bottom: 0cm"&gt;- cod_articolo &amp;amp; cod_articolo2&lt;/P&gt;&lt;P style="/forums/AddPost.aspx/margin-bottom: 0cm"&gt;- cod_articolo &amp;amp; cod_articolo2 &amp;amp; cod_colore&lt;/P&gt;&lt;P style="/forums/AddPost.aspx/margin-bottom: 0cm"&gt;- cod_articolo &amp;amp; cod_articolo2 &amp;amp; cod_colore &amp;amp; cod_fornitore&lt;/P&gt;&lt;P style="/forums/AddPost.aspx/margin-bottom: 0cm"&gt;- cod_articolo &amp;amp; cod_articolo2 &amp;amp; cod_colore &amp;amp; cod_fornitore &amp;amp; taglia_num&lt;/P&gt;&lt;UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Oct 2010 11:32:55 GMT</pubDate>
    <dc:creator>lucarizziero</dc:creator>
    <dc:date>2010-10-14T11:32:55Z</dc:date>
    <item>
      <title>Composite Keys and Synthetic Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-Keys-and-Synthetic-Keys/m-p/237335#M88394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Hi have a data structure that create Synthetic keys based on key dimensions, but also other Synthetic keys based on other Synthetic key, causing slow performances (the biggest fact table has 50000 rows).&lt;/P&gt;&lt;P&gt;The last steps of script running highlights the situation:&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/-2578_sourceID:2578" /&gt;&lt;/P&gt;&lt;P style="/forums/AddPost.aspx/margin-bottom: 0cm"&gt;I have my facts that refers to the product dimensions at different levels:&lt;/P&gt;&lt;P style="/forums/AddPost.aspx/margin-bottom: 0cm"&gt;- cod_articolo &amp;amp; cod_articolo2&lt;/P&gt;&lt;P style="/forums/AddPost.aspx/margin-bottom: 0cm"&gt;- cod_articolo &amp;amp; cod_articolo2 &amp;amp; cod_colore&lt;/P&gt;&lt;P style="/forums/AddPost.aspx/margin-bottom: 0cm"&gt;- cod_articolo &amp;amp; cod_articolo2 &amp;amp; cod_colore &amp;amp; cod_fornitore&lt;/P&gt;&lt;P style="/forums/AddPost.aspx/margin-bottom: 0cm"&gt;- cod_articolo &amp;amp; cod_articolo2 &amp;amp; cod_colore &amp;amp; cod_fornitore &amp;amp; taglia_num&lt;/P&gt;&lt;UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 11:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-Keys-and-Synthetic-Keys/m-p/237335#M88394</guid>
      <dc:creator>lucarizziero</dc:creator>
      <dc:date>2010-10-14T11:32:55Z</dc:date>
    </item>
    <item>
      <title>Composite Keys and Synthetic Keys</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-Keys-and-Synthetic-Keys/m-p/237336#M88395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luca,&lt;/P&gt;&lt;P&gt;Since QlikView links tables using same named fields, it will create a synthetic key for each additional field named alike, solving all possible matches. They may be useful provided you want all those "joins" between your tables.&lt;/P&gt;&lt;P&gt;Say for example you have a fact table with Invoices, in which lines are stored not only the cod_articolo but the cod_articolo2 and cod_colore as well, and at the same time these fields can be retrieved from your main Articolo table, then you can not load them in the Invoice Line table, and only in the Articolo table. Besides, you can try to create by your own those composite keys, and use the AutoNumber() function on them, so QlikView will compare numbers, not alphanumerical values, and check if that performs better.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 12:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-Keys-and-Synthetic-Keys/m-p/237336#M88395</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-14T12:14:49Z</dc:date>
    </item>
  </channel>
</rss>

