<?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: How to Create a Master Calendar with 3 Fact Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018107#M466253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check these, will be helpful for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/124830"&gt;Master Calendar with Two Fact Tables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/65373"&gt;Using Multiple Dates With Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/5032"&gt;Linking master calendar to multiple tables&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2016 06:54:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-12T06:54:56Z</dc:date>
    <item>
      <title>How to Create a Master Calendar with 3 Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018106#M466252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 3 tables that has records added monthly. I am trying to set up master calendar&lt;/P&gt;&lt;P&gt;to pick up values month wise. The sample has data for Dec and Jan only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order: &lt;STRONG&gt;The Req is that, for ProductA for Dec 2015, it sud plug Value X and Value Y for Jan 2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Group: &lt;STRONG&gt;The Req is that for ProductA, for Dec 2015, it sud plug Attribute 10 for A and attribute 40 for Jan 2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in Expn 1&lt;/STRONG&gt;, I am counting Product leased when Value is "X" for dec 2015 or Jan 2016. &lt;/P&gt;&lt;P&gt;The Value of X is assigned in Order Table. So when I select Dec 2015, Expn 1 for XYZ&lt;/P&gt;&lt;P&gt;sud be&amp;nbsp; 3, but it shows 5 at all times which is incorrect. 3, because A has "X" in 2015&lt;/P&gt;&lt;P&gt;from Order table and A was sold 3 times in 2015, shown by Sales table&lt;/P&gt;&lt;P&gt; How do I configure this with a master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For Expn 2&lt;/STRONG&gt;,the total for year 2015 sud be 50 but its showing 210 and does not respond to the year filter.&lt;/P&gt;&lt;P&gt; 50 bcoz under Group XYZ, Product A was sold 3 times (10 * 3) and B was sold once (20 *1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls see the excel file and qvw attached. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 06:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018106#M466252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-12T06:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Master Calendar with 3 Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018107#M466253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check these, will be helpful for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/124830"&gt;Master Calendar with Two Fact Tables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/65373"&gt;Using Multiple Dates With Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/5032"&gt;Linking master calendar to multiple tables&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 06:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018107#M466253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-12T06:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Master Calendar with 3 Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018108#M466254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way that I find is to concatenate all fact tables into a single table, and rename and augment columns as required.&amp;nbsp; This tends to work much better than having lots of table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So from Sales:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; 'Sales' as RowType,&lt;/P&gt;&lt;P&gt; Product,&lt;/P&gt;&lt;P&gt; Group,&lt;/P&gt;&lt;P&gt; [Sales Date] as Date&lt;/P&gt;&lt;P&gt; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then from Order:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE(Fact)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt; 'Order' as RowType,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt; Product,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt; [Order Date] as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you don't have Group in your Order table, when you select a Group you will not see any orders (is this correct?).&amp;nbsp; This can be fixed either by looking up the group when you load orders, or by ignoring selections on Group using Set Analysis when looking at Order values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have large amounts of data and QVDs you will need to ensure you make your loads Optimised.&amp;nbsp; This can be done by keeping columns in all concatenated tables identical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other techniques for multiple fact tables and a single calendar are Link Tables and putting your date table in a Data Island.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that all makes sense and is of help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 07:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018108#M466254</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2016-02-12T07:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Master Calendar with 3 Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018109#M466255</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;Have a look at the attach application for solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 07:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018109#M466255</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-02-12T07:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Master Calendar with 3 Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018110#M466256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In all tables Date fields as Date and taken Date columns in Master Calendar than it is solve it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 07:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018110#M466256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-12T07:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Master Calendar with 3 Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018111#M466257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have simplified the Question and app to go step by step. Pls see the attached QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the app, 1st table is how many products were sold in 2015? ans sud be 4. why is it showing 6?&lt;/P&gt;&lt;P&gt;I think I have the link table correctly place with Type as Sales which is used in the expn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls comment what I am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="order.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/114510_order.PNG" style="height: auto;" /&gt;&lt;IMG alt="Sales.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/114536_Sales.PNG" style="height: auto;" /&gt; !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 19:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018111#M466257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-12T19:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Master Calendar with 3 Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018112#M466258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 20:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018112#M466258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-12T20:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Master Calendar with 3 Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018113#M466259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date:&lt;/P&gt;&lt;P&gt;load9&lt;/P&gt;&lt;P&gt;Order date as Date,&lt;/P&gt;&lt;P&gt;Resident Order;&lt;/P&gt;&lt;P&gt;Date1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Sales Date as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident to Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar&lt;/P&gt;&lt;P&gt;load&amp;nbsp; &lt;/P&gt;&lt;P&gt;Month(Date) as Month,&lt;/P&gt;&lt;P&gt;Year(Date) as Year,&lt;/P&gt;&lt;P&gt;Week(Date) as Week,&lt;/P&gt;&lt;P&gt;Day(Date) as Day,&lt;/P&gt;&lt;P&gt;'Q' &amp;amp; Ceil(Month(Date)/3) as Quarter, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Year(Date) &amp;amp;&lt;SPAN style="font-size: 13.3333px;"&gt; Ceil(Month(Date)/3)&amp;nbsp; as Quarter Year&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 05:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018113#M466259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-15T05:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Master Calendar with 3 Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018114#M466260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Everyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 03:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018114#M466260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-17T03:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a Master Calendar with 3 Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018115#M466261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this one&lt;/P&gt;&lt;OL class="dp-c" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #5c5c5c; margin: 0 0 1px 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;QuartersMap:&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;MAPPING LOAD&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;rowno() as Month,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;'Q' &amp;amp; Ceil (rowno()/3) as Quarter&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;AUTOGENERATE (12);&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Temp:&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Load&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; min(OrderDate) as minDate,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(OrderDate) as maxDate&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Resident Orders;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Let varMinDate = Num(Peek('minDate', 0, 'Temp'));&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Let varMaxDate = Num(Peek('maxDate', 0, 'Temp'));&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;DROP Table Temp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;TempCalendar:&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;LOAD&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(varMinDate) + Iterno()-1 As Num,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date($(varMinDate) + IterNo() - 1) as TempDate&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoGenerate 1 While $(varMinDate) + IterNo() -1 &amp;lt;= $(varMaxDate);&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;MasterCalendar:&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Load&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempDate AS OrderDate,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week(TempDate) As Week,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(TempDate) As Year,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(TempDate) As Month,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(TempDate) As Day,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YeartoDate(TempDate)*-1 as CurYTDFlag,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YeartoDate(TempDate,-1)*-1 as LastYTDFlag,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inyear(TempDate, Monthstart($(varMaxDate)),-1) as RC12,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(monthstart(TempDate), 'MMM-YYYY') as MonthYear,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('QuartersMap', month(TempDate), Null()) as Quarter,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(weekstart(TempDate)) &amp;amp; '-' &amp;amp; WeekYear(TempDate) as WeekYear,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(TempDate) as WeekDay&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Resident TempCalendar&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Order By TempDate ASC;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Drop Table TempCalendar;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 04:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Create-a-Master-Calendar-with-3-Fact-Tables/m-p/1018115#M466261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-17T04:28:17Z</dc:date>
    </item>
  </channel>
</rss>

