<?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: Generic Keys with 2 Fact Tables (weekly/daily data) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generic-Keys-with-2-Fact-Tables-weekly-daily-data/m-p/1674883#M592895</link>
    <description>&lt;P&gt;Hi Milo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why not concatenate the two fact tables into one master fact table and create Master Calendar which is linked to the Fact Data by the Week field.&lt;/P&gt;&lt;P&gt;Like so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 996px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28328iD44BB791196A83A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can resolve your problem in multiple ways, but that one to me seems to be the easiest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;S.T.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 15:05:32 GMT</pubDate>
    <dc:creator>Stoyan_Terziev</dc:creator>
    <dc:date>2020-02-12T15:05:32Z</dc:date>
    <item>
      <title>Generic Keys with 2 Fact Tables (weekly/daily data)</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Keys-with-2-Fact-Tables-weekly-daily-data/m-p/1674869#M592894</link>
      <description>&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;I have some struggle to create a data model which fits to my needs. Basically I have two fact tables - one at a daily level (tab DailyData) and another one on a weekly level (see the tab PromotionData).&lt;BR /&gt;In the promotion data the week results from the column promotion: 2000 is week 2, 48000 would be week 48, etc.&lt;/P&gt;&lt;P&gt;In my applications I regulary use a MasterCalender. But in this case, I dont know how to implement it in a good way. I dont want seperate Year, YearWeek or Week fields for every fact table. So I have searched a bit and come across the concept of 'generic keys'. Although I have read the&amp;nbsp; Doc, I'm struggeling with the adaption to my problem/data.&lt;BR /&gt;&lt;BR /&gt;It would be great, if someone can push me in the right direction (or suggest a better idea).&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Milo&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Keys-with-2-Fact-Tables-weekly-daily-data/m-p/1674869#M592894</guid>
      <dc:creator>Milo2009</dc:creator>
      <dc:date>2024-11-16T19:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Keys with 2 Fact Tables (weekly/daily data)</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Keys-with-2-Fact-Tables-weekly-daily-data/m-p/1674883#M592895</link>
      <description>&lt;P&gt;Hi Milo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why not concatenate the two fact tables into one master fact table and create Master Calendar which is linked to the Fact Data by the Week field.&lt;/P&gt;&lt;P&gt;Like so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 996px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28328iD44BB791196A83A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can resolve your problem in multiple ways, but that one to me seems to be the easiest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;S.T.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Keys-with-2-Fact-Tables-weekly-daily-data/m-p/1674883#M592895</guid>
      <dc:creator>Stoyan_Terziev</dc:creator>
      <dc:date>2020-02-12T15:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Keys with 2 Fact Tables (weekly/daily data)</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-Keys-with-2-Fact-Tables-weekly-daily-data/m-p/1683775#M592896</link>
      <description>&lt;P&gt;In addition to Stoyan's post, check out the following Design Blog post, it may provide another idea:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to do some further searching in this area on your own, use the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 13:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-Keys-with-2-Fact-Tables-weekly-daily-data/m-p/1683775#M592896</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-03-11T13:29:13Z</dc:date>
    </item>
  </channel>
</rss>

