<?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 data model question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/data-model-question/m-p/193596#M54803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whats a good practice for a model in qlikview?&lt;/P&gt;&lt;P&gt;1. fact data on employee level (key) .. more tables&lt;/P&gt;&lt;P&gt;2. fact data on employee and function level (key) .. more tables&lt;/P&gt;&lt;P&gt;3. master calender&lt;/P&gt;&lt;P&gt;4. all fact tables contain a date field. some are per month, some are per day&lt;/P&gt;&lt;P&gt;5. several tables with dimension employee data (like name, function name, date of birth etc).&lt;/P&gt;&lt;P&gt;how shoud i load the data into qlikview?&lt;/P&gt;&lt;P&gt;my approach:&lt;/P&gt;&lt;P&gt;1. concatenate all dimension employee data into one table (contains both employee level key and employee function level key)&lt;/P&gt;&lt;P&gt;2. concatenate all fact tables based on employee level key (seperate table for fact table based on month and day)&lt;/P&gt;&lt;P&gt;3. concatenate all fact tables based on employee function level key (seperate table for fact tabled based on month and day).&lt;/P&gt;&lt;P&gt;4. link mastercalender to all facttables (key is day or month)&lt;/P&gt;&lt;P&gt;any suggestions? other ways to link the master calender?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jan 2011 10:28:53 GMT</pubDate>
    <dc:creator>amien</dc:creator>
    <dc:date>2011-01-31T10:28:53Z</dc:date>
    <item>
      <title>data model question</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-question/m-p/193596#M54803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whats a good practice for a model in qlikview?&lt;/P&gt;&lt;P&gt;1. fact data on employee level (key) .. more tables&lt;/P&gt;&lt;P&gt;2. fact data on employee and function level (key) .. more tables&lt;/P&gt;&lt;P&gt;3. master calender&lt;/P&gt;&lt;P&gt;4. all fact tables contain a date field. some are per month, some are per day&lt;/P&gt;&lt;P&gt;5. several tables with dimension employee data (like name, function name, date of birth etc).&lt;/P&gt;&lt;P&gt;how shoud i load the data into qlikview?&lt;/P&gt;&lt;P&gt;my approach:&lt;/P&gt;&lt;P&gt;1. concatenate all dimension employee data into one table (contains both employee level key and employee function level key)&lt;/P&gt;&lt;P&gt;2. concatenate all fact tables based on employee level key (seperate table for fact table based on month and day)&lt;/P&gt;&lt;P&gt;3. concatenate all fact tables based on employee function level key (seperate table for fact tabled based on month and day).&lt;/P&gt;&lt;P&gt;4. link mastercalender to all facttables (key is day or month)&lt;/P&gt;&lt;P&gt;any suggestions? other ways to link the master calender?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 10:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-question/m-p/193596#M54803</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2011-01-31T10:28:53Z</dc:date>
    </item>
    <item>
      <title>data model question</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-question/m-p/193597#M54804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would first try to concatenate all fact tables containing time dimension (date or month) into one table.&lt;BR /&gt;Facts that are per month only - convert the month to date (for example 2010_10 = Oct 1st 2010). Master calendar will be connected to single date field which is same for all facts.&lt;BR /&gt;Then single dimension table for employee.&lt;BR /&gt;I'm not sure how function relates to employee but I assume it is not always 1:1, in this case I'd make separate dim table for function.&lt;BR /&gt;&lt;BR /&gt;This would be my scratch:&lt;BR /&gt;&lt;BR /&gt;Fact: // all concatenated&lt;BR /&gt;EmployeeID,&lt;BR /&gt;FuctionID,&lt;BR /&gt;Date,&lt;BR /&gt;Fact1,&lt;BR /&gt;Fact2&lt;BR /&gt;&lt;BR /&gt;Employee:&lt;BR /&gt;EmployeeID,&lt;BR /&gt;EmployeeName,&lt;BR /&gt;EmployeeBirthday,&lt;BR /&gt;EmployeeNativeFunction&lt;BR /&gt;&lt;BR /&gt;Function:&lt;BR /&gt;FuctionID,&lt;BR /&gt;FuctionName&lt;BR /&gt;&lt;BR /&gt;Calendar:&lt;BR /&gt;Date,&lt;BR /&gt;Month,&lt;BR /&gt;Year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 11:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-question/m-p/193597#M54804</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2011-01-31T11:30:18Z</dc:date>
    </item>
    <item>
      <title>data model question</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-question/m-p/193598#M54805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please, see the file QlikView Data Model Best Pratices.&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0363.The_5F00_QlikView_5F00_Data_5F00_Model_5F00_Best_5F00_Practices.pdf:550:0]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 11:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-question/m-p/193598#M54805</guid>
      <dc:creator />
      <dc:date>2011-01-31T11:33:03Z</dc:date>
    </item>
    <item>
      <title>data model question</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-question/m-p/193599#M54806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply ... the date thing is a good solution.&lt;/P&gt;&lt;P&gt;EmployeeID and FunctionID is only a bit different.&lt;/P&gt;&lt;P&gt;Overtime an employee can have more than 1 function. therefor the fact table is something like this:&lt;/P&gt;&lt;P&gt;employeeID, activityID, sales&lt;/P&gt;&lt;P&gt;10000, 1, 42343&lt;/P&gt;&lt;P&gt;i create a key based on employeeID and activityID.&lt;/P&gt;&lt;P&gt;in your description, when i select a fact which only contains a employee_function_id .. than i will never get a name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 19:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-question/m-p/193599#M54806</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2011-01-31T19:27:42Z</dc:date>
    </item>
  </channel>
</rss>

