<?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: Synthetic Keys problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681879#M673217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;ARTICLE DISCOUNT &amp;amp; ARTICLE PROMOTION Table:&lt;BR /&gt;1) CREATE A KEY FIELD TRANSACTION_ID &amp;amp; HASH_CODE_ARTICE AS KEY_ARTICLE_DIS_PRO&lt;BR /&gt;2) RENAME THE FIELD&lt;BR /&gt;TRANSACTION ID&lt;/P&gt;&lt;P&gt;HASC_CODE_ARTICLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Menu or Article table &lt;BR /&gt;3)rename the field Menu_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 11:26:29 GMT</pubDate>
    <dc:creator>sathishkumar_go</dc:creator>
    <dc:date>2014-09-24T11:26:29Z</dc:date>
    <item>
      <title>Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681873#M673211</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;i've a strange situation please see attachment. All table present in attachment are Transaction table (Fact Table). In this case i've to resolve synthetic keys? I can't join any table because different granularity. I can concatenate only Article_Promotion and Article_Discount, but this do not resolve any synthetic keys... i cannot concatenate the others tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that exist link table, but with this solution i just replay the same solution that qlik suggest me with the syntethic keys..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This situation (with synthetic keys) can create data inconsistency? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681873#M673211</guid>
      <dc:creator />
      <dc:date>2014-09-24T11:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681874#M673212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681874#M673212</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-09-24T11:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681875#M673213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Synthetic keys don't create data inconsitency although they're not great from memory consumption. Having multiple tables joined is not good for memory either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can stack these tables by concatenating them without issue. Just do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681875#M673213</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-09-24T11:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681876#M673214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need at least two new keys&lt;/P&gt;&lt;P&gt;Transaction_ID &amp;amp; Hash_Code_Article as %Key1&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Transaction_ID &amp;amp; Menu_ID as %Key2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;furthermore you need to rename Transaction_ID and Hash_Code_Article and Menu_ID&lt;/P&gt;&lt;P&gt;or qualify them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681876#M673214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-24T11:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681877#M673215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paola Panizza,&lt;/P&gt;&lt;P&gt;You can rename the fields to remove the synthetic keys,if at all both the keys are necessary then you have to create a concatenation of those 2 fields.&lt;/P&gt;&lt;P&gt;Example:: Rename HASH_CODE_Article or concatenate TRANSACTION_ID,HASH_CODE_Article&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681877#M673215</guid>
      <dc:creator />
      <dc:date>2014-09-24T11:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681878#M673216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to concatenate your fields to create a single field to join tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add an "Exit Script;" lone to your load script to just load the first 2 tables, resolve the synthetic keys (if any) the n move the exit script to add another table and so on.&amp;nbsp; Resolving the synthetic keys table by table is much easier than trying to work out the whole data model at once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. Add a new field TRANSACTION_ID &amp;amp; HASH_CODE_Article as HASH_KEY&amp;nbsp; to Article table and ArticleDiscount tables and remove the TRANSACTION_ID &amp;amp; HASH_CODE_Article fields from ArticleDiscount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow this logic for the other keys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681878#M673216</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-09-24T11:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681879#M673217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;ARTICLE DISCOUNT &amp;amp; ARTICLE PROMOTION Table:&lt;BR /&gt;1) CREATE A KEY FIELD TRANSACTION_ID &amp;amp; HASH_CODE_ARTICE AS KEY_ARTICLE_DIS_PRO&lt;BR /&gt;2) RENAME THE FIELD&lt;BR /&gt;TRANSACTION ID&lt;/P&gt;&lt;P&gt;HASC_CODE_ARTICLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Menu or Article table &lt;BR /&gt;3)rename the field Menu_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681879#M673217</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2014-09-24T11:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681880#M673218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681880#M673218</guid>
      <dc:creator />
      <dc:date>2014-09-24T12:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681881#M673219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i cannot rename any field. I need these fields with these association.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681881#M673219</guid>
      <dc:creator />
      <dc:date>2014-09-24T12:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681882#M673220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to rename the fields to remove the synthetic key.&lt;/P&gt;&lt;P&gt;The association is done on the new key field which concatenates the multiple values that cause the synthetic key.&lt;/P&gt;&lt;P&gt;Try it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681882#M673220</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-09-24T12:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681883#M673221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to rename the field otherwise we can't avoid the synthetic keys.&lt;/P&gt;&lt;P&gt;Don't worry about association. Becuase while you creating the key file will associative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681883#M673221</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2014-09-24T12:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681884#M673222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, i understand. Only one doubt: in your example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. Add a new field TRANSACTION_ID &amp;amp; HASH_CODE_Article as HASH_KEY&amp;nbsp; to Article table and ArticleDiscount tables and remove the TRANSACTION_ID &amp;amp; HASH_CODE_Article fields from ArticleDiscount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you suggest me to remove the TRANSACTION_ID &amp;amp; HASH_CODE_Article fields from ArticleDiscount and not from Article table, because ArticleDiscount is a subset of Article? Right? In this case all&amp;nbsp; HASH_CODE_Article from ArticleDiscount table are a subset of all HASH_CODE_Article from Article table. In qlik HASH_CODE_Article from Article table has SUBSETRATIO = 100%, on the contrary HASH_CODE_Article from ArticleDiscount has a SUBSETRATIO &amp;lt; 100%&lt;/P&gt;&lt;P&gt;Right? So i need only to pay attention on wich table i drop the field?&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681884#M673222</guid>
      <dc:creator />
      <dc:date>2014-09-24T13:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681885#M673223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I adjust and fix the syn keys. See attachment, it is correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681885#M673223</guid>
      <dc:creator />
      <dc:date>2014-09-24T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Synthetic Keys problem</title>
      <link>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681886#M673224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, keep the two fields in that master table as well as the concatenated key, and just add the concatenated key to the other table.&lt;/P&gt;&lt;P&gt;Try adding the tables one at a time in your load script and resolving any synthetic keys table by table, it will make the task much easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synthetic-Keys-problem/m-p/681886#M673224</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-09-24T14:19:35Z</dc:date>
    </item>
  </channel>
</rss>

