<?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 model in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/data-model/m-p/1271642#M861976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you so much for the highlights.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2017 16:00:14 GMT</pubDate>
    <dc:creator>surajap123</dc:creator>
    <dc:date>2017-01-05T16:00:14Z</dc:date>
    <item>
      <title>data model</title>
      <link>https://community.qlik.com/t5/QlikView/data-model/m-p/1271634#M861968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have these 3 tables. All 3 tables are linked by a single field PersonID.&lt;BR /&gt;Each table contain both dimensions and measures. Infact the tables are sql views created for reporting requirement.&lt;/P&gt;&lt;P&gt;The tables has persons data. &lt;BR /&gt;Table1 has all the persons information. If any person has any issues, that will be seen in table2 and if any person has Activity then that is seen in Table3.&lt;/P&gt;&lt;P&gt;The issue is, Table1 has has dimensions like country,location,status that applies to data in all tables.So I want to crate a star schema, where i can put all measures in single table and dimensions in other table.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148448_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model/m-p/1271634#M861968</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: data model</title>
      <link>https://community.qlik.com/t5/QlikView/data-model/m-p/1271635#M861969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My main issues is, I am not sure how I can take off the dimensions and put in separate table, which link to the fact table.&lt;/P&gt;&lt;P&gt;Can I load the table twice, ie in 1st load I load measures and in 2nd load I load dimensions. Does the association works properly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 11:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model/m-p/1271635#M861969</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2017-01-05T11:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: data model</title>
      <link>https://community.qlik.com/t5/QlikView/data-model/m-p/1271636#M861970</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;You have to take care to add the persons with Activity in Table 2 and persons with issue in Table 3. Otherwise, it will show only those that have Activity and Issue in the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would keep table T1 and concatenate T2, T3, and put a flag, 'Issue'&amp;nbsp; and 'Activity'. &lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Cosmina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 12:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model/m-p/1271636#M861970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-05T12:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: data model</title>
      <link>https://community.qlik.com/t5/QlikView/data-model/m-p/1271637#M861971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your data-structure right then is table 1 a dimension-table and the tables 2 and 3 fact-tables. Quite probably I wouldn't change anything and use the tables with their associations like they are. By larger amounts of data it could be useful to concatenate the fact-tables. I think anything on changes of the datamodel more wouldn't be needed and would rather end with the contrary of an optimization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 12:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model/m-p/1271637#M861971</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-05T12:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: data model</title>
      <link>https://community.qlik.com/t5/QlikView/data-model/m-p/1271638#M861972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌ - Table 1 has both measures and dimensions. Infact, there are more measure fields in table1 which I haven't mentioned in the diagram for simplicity. Table1 has subset ratio 99% and table2- 33% and table3- 5%, when they all link by personID.&lt;/P&gt;&lt;P&gt;Another reason to change the model is, I want to link all my dates to a single calendar.&lt;/P&gt;&lt;P&gt;Looking at the subset ratio, do you suggest anything to me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking to concatenate all tables with flags as suggested by &lt;A href="https://community.qlik.com/qlik-users/232171"&gt;cocosmina&lt;/A&gt;‌. But doing that I am having null values for table2 and 3 rows. eg- country, region fields got nulls. Shall I do applymap here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 12:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model/m-p/1271638#M861972</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2017-01-05T12:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: data model</title>
      <link>https://community.qlik.com/t5/QlikView/data-model/m-p/1271639#M861973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case there would be no easy and direct answer how you could create a single fact-table and one or more dimension-tables from your 3 tables - it will be depending on various factors. But again if you are not handling with large amounts of data the association of the tables per PersonID might be sufficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside them if you are concatenate tables like above mentioned you don't need to worry about NULL's - it will work smoothly and fast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 12:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model/m-p/1271639#M861973</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-05T12:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: data model</title>
      <link>https://community.qlik.com/t5/QlikView/data-model/m-p/1271640#M861974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus, Thanks for the suggestion. I will go with concatenate approach and get back to you.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Marcus Sommer wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;In this case there would be no easy and direct answer how you could create a single fact-table and one or more dimension-tables from your 3 tables - it will be depending on various factors.&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering what are the factors I should consider. Could you mention few.&lt;/P&gt;&lt;P&gt;I am still learning data modelling and not confident yet. I have read your blogs on 'datamodeling topics'. But not sure what more resources I should concentrate for my situation..&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 13:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model/m-p/1271640#M861974</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2017-01-05T13:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: data model</title>
      <link>https://community.qlik.com/t5/QlikView/data-model/m-p/1271641#M861975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The main topic will be the the relation between the tables - are they 1:1 or 1:n or n:n - then if your aim is to create a new fact-table which content beside all necessary key-fields all measures you need to look on the table-relations to decide if you could concatenate, join or map these tables and you might be need additionally steps to include counter-fields (to calculate some fields correctly) or to get rid of different granularities within the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the various date-fields could make things complicated and you might need in the end several master-calendars and/or a canonical-calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's always good by developing datamodel to keep in mind the best practice approaches for it - but you need also some degree of pragmatism to reach a solution. At first comes the business-logic and if they worked (and there is really a demand) you could think on optimizations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 13:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model/m-p/1271641#M861975</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-05T13:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: data model</title>
      <link>https://community.qlik.com/t5/QlikView/data-model/m-p/1271642#M861976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you so much for the highlights.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 16:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model/m-p/1271642#M861976</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2017-01-05T16:00:14Z</dc:date>
    </item>
  </channel>
</rss>

