<?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: it my data model perfect ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172614#M628549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are happy with the overall schema, you could create the Key Table: i.e.,&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOURCE &amp;amp; '_' &amp;amp;aging AS AP_TABLE_KEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOURCE &amp;amp; '_'&amp;amp;AR_KEY&amp;amp;'_'&amp;amp;custid AS Q_DOD_KEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;RESIDENT&lt;/P&gt;&lt;P&gt;[Fact Tables]&lt;/P&gt;&lt;P&gt;And then create the composite key in each of the tables that sources off it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd also need to remove any fields that create the synthetic keys from the ancillary tables, and make sure that no UID's are lost. How you go about that would depend on how you are bringing in the data for those tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2016 04:05:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-09T04:05:31Z</dc:date>
    <item>
      <title>it my data model perfect ?</title>
      <link>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172611#M628546</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;&lt;/P&gt;&lt;P&gt;After few people input on my data model , today i have notice in order to remove $syn key , as i need to create :-&lt;/P&gt;&lt;P&gt;cust_id_ap&lt;/P&gt;&lt;P&gt;cust_id_aging&lt;/P&gt;&lt;P&gt;cust_id_sales &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This make me headache on maintenance., So am i right that my data model is perfect now ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="perfect data model.png" class="jive-image image-1" src="/legacyfs/online/136907_perfect data model.png" style="height: 543px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 23:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172611#M628546</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-09-08T23:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: it my data model perfect ?</title>
      <link>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172612#M628547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, no - Ideally you should create specific keys rather than let them be auto-generated, so then you &lt;EM&gt;know&lt;/EM&gt; what the significance and relationship of the keys is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, Qlik is generally pretty good at creating synthetic keys accurately, so as long as you validate the outputs and are getting the values you expect, then there is no issue with the keys generated. However, each time you alter the model, the synthesis increases the chance of a hard to trace error slipping in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best practice, manually create the keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 01:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172612#M628547</guid>
      <dc:creator />
      <dc:date>2016-09-09T01:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: it my data model perfect ?</title>
      <link>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172613#M628548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see am I right to sale that for APKey which I created in AP Table and Sales Table , and for these 2 table I only create one cust_id right ? So the sync key will not appear ? It is correct ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul Yeo&lt;/P&gt;&lt;P&gt;Director&lt;/P&gt;&lt;P&gt;www.tdstech.com&amp;lt;http://www.tdstech.com&amp;gt;&lt;/P&gt;&lt;P&gt;HP+6285883521036 Indo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 03:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172613#M628548</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-09-09T03:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: it my data model perfect ?</title>
      <link>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172614#M628549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are happy with the overall schema, you could create the Key Table: i.e.,&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOURCE &amp;amp; '_' &amp;amp;aging AS AP_TABLE_KEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOURCE &amp;amp; '_'&amp;amp;AR_KEY&amp;amp;'_'&amp;amp;custid AS Q_DOD_KEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;RESIDENT&lt;/P&gt;&lt;P&gt;[Fact Tables]&lt;/P&gt;&lt;P&gt;And then create the composite key in each of the tables that sources off it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd also need to remove any fields that create the synthetic keys from the ancillary tables, and make sure that no UID's are lost. How you go about that would depend on how you are bringing in the data for those tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 04:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172614#M628549</guid>
      <dc:creator />
      <dc:date>2016-09-09T04:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: it my data model perfect ?</title>
      <link>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172615#M628550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are try to teach me how to create link table , so that data model will be look nice , right ?&lt;/P&gt;&lt;P&gt;! ! ! !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to load the script :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOURCE &amp;amp; '_' &amp;amp;aging AS AP_TABLE_KEY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it create a field for &lt;SPAN style="font-size: 13.3333px;"&gt;AP_TABLE_KEY , which i think is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i add script :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOURCE &amp;amp; '_'&amp;amp;ARKey&amp;amp; '_' &amp;amp;cust_id AS Q_DOD_KEY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Get error msg on field not found on ARKey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My overall script as below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SOURCE &amp;amp; '_' &amp;amp;aging AS AP_TABLE_KEY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOURCE &amp;amp; '_'&amp;amp;ARKey&amp;amp; '_' &amp;amp;cust_id AS Q_DOD_KEY&amp;nbsp; // Get error msg on field not found on ARKey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;RESIDENT&lt;/P&gt;&lt;P&gt;AP_TABLE;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 05:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172615#M628550</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-09-09T05:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: it my data model perfect ?</title>
      <link>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172616#M628551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not remove the Synthetic Keys? Synthetic keys are not bad for dashboards. But, See this as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/10279"&gt;Should We Stop Worrying and Love the Synthetic Key?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 05:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172616#M628551</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-09T05:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: it my data model perfect ?</title>
      <link>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172617#M628552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your sharing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes , I am aware of benefit of the $sync key .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also saw the link talk about sync key by the name of john . He no more active nowadays&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me now I just want to learn about create a link table. Just to make my data model look nice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul Yeo&lt;/P&gt;&lt;P&gt;Director&lt;/P&gt;&lt;P&gt;www.tdstech.com&amp;lt;http://www.tdstech.com&amp;gt;&lt;/P&gt;&lt;P&gt;HP+6285883521036 Indo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 05:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172617#M628552</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-09-09T05:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: it my data model perfect ?</title>
      <link>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172618#M628553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this help you. This is very simple and data model might be good. Try this way&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 06:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172618#M628553</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-09T06:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: it my data model perfect ?</title>
      <link>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172619#M628554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very informative , thank a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul Yeo&lt;/P&gt;&lt;P&gt;Director&lt;/P&gt;&lt;P&gt;www.tdstech.com&amp;lt;http://www.tdstech.com&amp;gt;&lt;/P&gt;&lt;P&gt;HP+6285883521036 Indo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 07:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/it-my-data-model-perfect/m-p/1172619#M628554</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-09-09T07:00:47Z</dc:date>
    </item>
  </channel>
</rss>

