<?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 issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/data-model-issue/m-p/900945#M658651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there isn't any possibilty to solve this with calculations. You will need to change your data-source(s) (which is probably difficult to impossible) or the datamodel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I would concatenate the both fact-tables and linking all dimensions directly without a link-table approach. With this methods the matching from different granularities is quite easy. I use this often, for example by sales-data on day-level and budget-data on month-level by which I with makedate(year, month, 1) a date create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2015 11:18:58 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-04-24T11:18:58Z</dc:date>
    <item>
      <title>data model issue</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-issue/m-p/900944#M658650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; structured my &lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;model &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;as follows (see below)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Now, when I try to do a calculation per month on the Fact_Headcount &lt;SPAN style="font-size: 13.3333330154419px;"&gt;I get either double (triple , etc) counts &lt;/SPAN&gt;because the link with the mapping table is on "period-level" and that the lowest granularity for the mapping table is period-name; with multiple people having a same level.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;How I can make Qlik do the calculation only once for every unique combination of period and level without the double counts ?&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG alt="DM.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/84872_DM.png" style="height: 398px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 08:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-issue/m-p/900944#M658650</guid>
      <dc:creator />
      <dc:date>2015-04-24T08:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: data model issue</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-issue/m-p/900945#M658651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there isn't any possibilty to solve this with calculations. You will need to change your data-source(s) (which is probably difficult to impossible) or the datamodel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I would concatenate the both fact-tables and linking all dimensions directly without a link-table approach. With this methods the matching from different granularities is quite easy. I use this often, for example by sales-data on day-level and budget-data on month-level by which I with makedate(year, month, 1) a date create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 11:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-issue/m-p/900945#M658651</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-04-24T11:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: data model issue</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-issue/m-p/900946#M658652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Marcus for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For dates I agree that making a date out of the month would work. How would this be possible in the context of (slowly changing) product and product group for example? (actuals and dimension per product, budget per product group)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 12:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-issue/m-p/900946#M658652</guid>
      <dc:creator />
      <dc:date>2015-04-24T12:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: data model issue</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-issue/m-p/900947#M658653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar case with a KPI over all sales which is incompleted parted in different sales-main/sub-categories. The missing parts and their distribution over all channels/stores will be done per percentage calculation. This is quite difficult and needs a lot of efforts and will be performed in many steps - alone to extract the relevant data from our monster planning-xls is horrible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in short: if it's not enough to compare grouped budget-data with then grouped actuals you will need to distribute to the smallest wanted granularity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 12:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-issue/m-p/900947#M658653</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-04-24T12:32:59Z</dc:date>
    </item>
  </channel>
</rss>

