<?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: Creating a Master Calendar using multiple dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380126#M1167409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need 3 calendars?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2012 21:58:38 GMT</pubDate>
    <dc:creator>sebastiandperei</dc:creator>
    <dc:date>2012-08-22T21:58:38Z</dc:date>
    <item>
      <title>Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380124#M1167407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have searching the community with no luck.&amp;nbsp; I need to create a master calendar using 3 date fields.&amp;nbsp; I have tried the Link table method but get the loop error.&amp;nbsp; Can anyone suggest anything else I could try?&amp;nbsp; I have attached my QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 20:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380124#M1167407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-22T20:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380125#M1167408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What do you want to achivev exactly? Have one ReportMonthYear being sync between the 3 "cases" tables, simply do :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LK_Table:&lt;/P&gt;&lt;P&gt;Load ReportMonthYear, LOCATION_ID, CATEGORY_ID, autonumberHash128(ReportMonthYear&amp;amp;LOCATION_ID&amp;amp; CATEGORY_ID) AS LK_Key resident Cases;&lt;/P&gt;&lt;P&gt;Concatenate(LK) &lt;/P&gt;&lt;P&gt;Load ReportMonthYear, LOCATION_ID, CATEGORY_ID, autonumberHash128(ReportMonthYear&amp;amp;LOCATION_ID&amp;amp; CATEGORY_ID) AS LK_Keyresident IncidentCases;&lt;/P&gt;&lt;P&gt;Concatenate(LK) &lt;/P&gt;&lt;P&gt;Load ReportMonthYear, LOCATION_ID, CATEGORY_ID, autonumberHash128(ReportMonthYear&amp;amp;LOCATION_ID&amp;amp; CATEGORY_ID) AS LK_Key resident RecoveryCases;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and drop the 3 fields in the original tables.&lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 20:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380125#M1167408</guid>
      <dc:creator>agilos_mla</dc:creator>
      <dc:date>2012-08-22T20:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380126#M1167409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need 3 calendars?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 21:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380126#M1167409</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-08-22T21:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380127#M1167410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much for you suggestion.&amp;nbsp; It looks like your approach would get rid of my synthetic keys and this is great.&amp;nbsp; I am going to try this code this morning.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 12:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380127#M1167410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-23T12:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380128#M1167411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&amp;nbsp; I would really like to have one calendar that links to all three dates.&amp;nbsp; I would like to be able to drill down and see detail data for specific years, quarters, months, day, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 12:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380128#M1167411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-23T12:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380129#M1167412</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;Here I posted sample code for linking 2 days to a calendar: &lt;A _jive_internal="true" href="https://community.qlik.com/message/250459#250459"&gt;http://community.qlik.com/message/250459#250459&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that could help you create a link to 3 dates as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Masha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 12:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380129#M1167412</guid>
      <dc:creator>masha-ecraft</dc:creator>
      <dc:date>2012-08-23T12:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380130#M1167413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Masha,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion.&amp;nbsp; The issue I am having is that the date fields are from 3 different fact tables. If they were all in 1 fact table, I think your code would work perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temieka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 13:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380130#M1167413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-23T13:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380131#M1167414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Temieka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest that you concatenate your 3 fact tables into one with just one date field and a field for a record type that will indicate from which original fact table each record is originating.&lt;/P&gt;&lt;P&gt;RecordType field is convenient to have to be able to filter your records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date1 as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;Resident Fact1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate (FactTable)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date2 as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Resident Fact2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar code for Fact3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Tables Fact1, Fact2, Fact3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can not only combine dates into one field for common analysis, but also put some other dimensions you are using in the application into fields with the same names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Masha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2012 06:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380131#M1167414</guid>
      <dc:creator>masha-ecraft</dc:creator>
      <dc:date>2012-08-24T06:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380132#M1167415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you done MasterCalendar using autogenerate calender is correct. use same Calender to link your all fact table using&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;CalendarDate key&lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2012 08:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380132#M1167415</guid>
      <dc:creator />
      <dc:date>2012-08-24T08:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380133#M1167416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Masha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your approach makes perfect sense.&amp;nbsp; If I were to make one fact table that would also get rid of my synthentic keys.&amp;nbsp; I am going to play around with your approach today.&amp;nbsp; Thanks again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temieka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2012 11:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380133#M1167416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-24T11:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Calendar using multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380134#M1167417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to create a Canonical Calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;View this entry because solution is here "&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date"&gt;Canonical Date&lt;/A&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 16:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Master-Calendar-using-multiple-dates/m-p/380134#M1167417</guid>
      <dc:creator>jmmayoral3</dc:creator>
      <dc:date>2015-01-28T16:18:57Z</dc:date>
    </item>
  </channel>
</rss>

