<?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: Master Calendar for Multiple Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801270#M1049489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Nov 2014 14:19:41 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-11-10T14:19:41Z</dc:date>
    <item>
      <title>Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801263#M1049482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data model with three tables: Load Curves, Electric Meters and Outages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each table has a unique ID known as %ID_GL. There are also different dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Load Curves: LC_Date&lt;/LI&gt;&lt;LI&gt;Electric Meters: EM_Date&lt;/LI&gt;&lt;LI&gt;Outages: Out_Start_Date&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="70851" alt="Model.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70851_Model.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously I had a Master Calendar only for the Load Curves table, but what I need now is to use the Master Calendar for the three tables at the same time, so that when I select a particular date or range of dates, I would see the data filtered for all the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was told that maybe I should use a link table by ID and date in the middle of the data model to achieve what I'm trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how could I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801263#M1049482</guid>
      <dc:creator />
      <dc:date>2014-11-10T13:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801264#M1049483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date" title="http://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801264#M1049483</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-10T13:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801265#M1049484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[Link Table]:&lt;/P&gt;&lt;P&gt;Load distinct %ID_GL,&lt;/P&gt;&lt;P&gt;EM_DATE&lt;/P&gt;&lt;P&gt;Resident ELECTRIC_METERS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatnate ([Link Table])&lt;/P&gt;&lt;P&gt;Load distinct %ID_GL,&lt;/P&gt;&lt;P&gt;LC_DATE&lt;/P&gt;&lt;P&gt;Resident LOAD_CURVES;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatnate ([Link Table])&lt;/P&gt;&lt;P&gt;Load distinct %ID_GL,&lt;/P&gt;&lt;P&gt;OUT_START_DATE&lt;/P&gt;&lt;P&gt;Resident OUTAGES;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 14:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801265#M1049484</guid>
      <dc:creator>arsal_90</dc:creator>
      <dc:date>2014-11-10T14:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801266#M1049485</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;You can try to rename this all different field as common dates and then using this date with master calencar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CommonDateTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;%ID_GL,&lt;/P&gt;&lt;P&gt;LC_Date as CommonDate&lt;/P&gt;&lt;P&gt;Resident Electric_Meter;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;%ID_GL,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;EM_Date as CommonDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Resident Load _Curves;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;%ID_GL,&lt;/P&gt;&lt;P&gt;Out_Start_Date as CommonDate&lt;/P&gt;&lt;P&gt;Resident Outages;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then create master calendar connect with date field CommonDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 14:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801266#M1049485</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-10T14:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801267#M1049486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[Link Table]:&lt;/P&gt;&lt;P&gt;Load distinct %ID_GL,&lt;/P&gt;&lt;P&gt;EM_DATE as MASTER_DATE,&lt;/P&gt;&lt;P&gt;'Electricmeters' as TYPE&lt;/P&gt;&lt;P&gt;Resident ELECTRIC_METERS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatnate ([Link Table])&lt;/P&gt;&lt;P&gt;Load distinct %ID_GL,&lt;/P&gt;&lt;P&gt;LC_DATE as MASTER_DATE,&lt;/P&gt;&lt;P&gt;'LoadCurves' as TYPE&lt;/P&gt;&lt;P&gt;Resident LOAD_CURVES;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatnate ([Link Table])&lt;/P&gt;&lt;P&gt;Load distinct %ID_GL,&lt;/P&gt;&lt;P&gt;OUT_START_DATE as MASTER_DATE,&lt;/P&gt;&lt;P&gt;'Outages' as TYPE&lt;/P&gt;&lt;P&gt;Resident OUTAGES;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 14:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801267#M1049486</guid>
      <dc:creator>arsal_90</dc:creator>
      <dc:date>2014-11-10T14:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801268#M1049487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then link it to master calendar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 14:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801268#M1049487</guid>
      <dc:creator>arsal_90</dc:creator>
      <dc:date>2014-11-10T14:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801269#M1049488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following Master Calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LK_DATE_TMP:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD *,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; DATE(MAKEDATE(ID_TIME_YEAR,ID_TIME_MONTH,ID_TIME_DAY),'YYYYMMDD') AS KEY_PERIOD,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; DATE(MAKEDATE(ID_TIME_YEAR,ID_TIME_MONTH),'YYYYMM') AS ID_TIME_YEARMONTH,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; DATE(MAKEDATE(ID_TIME_YEAR,ID_TIME_MONTH),'MMM-YY') AS ID_TIME_YEARMONTHDESC,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; DATE(MAKEDATE(ID_TIME_YEAR,ID_TIME_MONTH,ID_TIME_DAY),'YYYYMMDD') AS ID_TIME_YEARMONTHDAY,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; 'Q'&amp;amp;ceil(ID_TIME_MONTH/3) AS ID_TIME_QUARTER&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD ID_TIME_DATE,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; YEAR(ID_TIME_DATE) AS ID_TIME_YEAR,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; MONTH(ID_TIME_DATE) AS ID_TIME_MONTH,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; NUM(MONTH(ID_TIME_DATE)) AS ID_TIME_MONTH#,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; NUM(DAY(ID_TIME_DATE)) AS ID_TIME_DAY,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; WEEKDAY(ID_TIME_DATE) AS ID_TIME_DAY_WEEK,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; NUM(ID_TIME_DATE) AS ID_TIME_DATE#&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; DATE(MAKEDATE(2007,1,1)+(ITERNO()-1),'YYYYMMDD') AS ID_TIME_DATE&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;AUTOGENERATE 1&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;WHILE DATE(MAKEDATE(2007,1,1)+(ITERNO()-1)) &amp;lt;= DATE(MAKEDATE(YEAR(TODAY()),MONTH(TODAY()),DAY(TODAY())));&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;MASTER_CALENDAR:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;NOCONCATENATE&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD DISTINCT&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; *&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;RESIDENT LK_DATE_TMP&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;WHERE EXISTS(&lt;STRONG style="text-decoration: underline;"&gt;EFFECTIVE_DATE&lt;/STRONG&gt;,ID_TIME_DATE);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11px; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;// THE DATA IS REDUCED TO THOSE DATES WHO HAVE AN "EFFECTIVE DATE" IN THE TABLE&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;DROP FIELD EFFECTIVE_DATE;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;DROP TABLE LK_DATE_TMP;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I should use the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;CommonDate&lt;/STRONG&gt; from your sample code as the EFFECTIVE_DATE in the Master Calendar I'm using, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 14:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801269#M1049488</guid>
      <dc:creator />
      <dc:date>2014-11-10T14:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801270#M1049489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 14:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801270#M1049489</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-10T14:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801271#M1049490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear demo user.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not the best way to just give a CommonName to all dates...&lt;/P&gt;&lt;P&gt;Consider that you are now going to find out Average KW_TOTAL per day.... how you will find?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SUM(KW_TOTAL)/COUNT(Distinct CommonDate)&amp;nbsp;&amp;nbsp;&amp;nbsp; ????&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;SUM(KW_TOTAL)/(Max(CommonDate)-Min(CommonDate)+1) ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think this will give the correct result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bit curious to know your thoughts......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 14:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801271#M1049490</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-10T14:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801272#M1049491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. Let me see how it works and I'll let you know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 14:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801272#M1049491</guid>
      <dc:creator />
      <dc:date>2014-11-10T14:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801273#M1049492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.... I will wait for your reply....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 14:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801273#M1049492</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-10T14:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801274#M1049493</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;I believe there is no problem if you keep the rest of the date fields in each table that you have and on the basis of this date fields you create common date field and create master calendar also with over all minimum date and maximum date.After finding the min and max dates you can create the master calendar. And for any other calculation you can use the date fields which is available in the tables it self also. And add the table type flag in each table to filter data in the SET analysis by using flag field there see the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CommonDateTable:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load DISTINCT&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;%ID_GL,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LC_Date as CommonDate,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Electric_Meter' as TableFlag&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Electric_Meter;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DISTINCT&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;%ID_GL,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;EM_Date as CommonDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Load _Curves&lt;/SPAN&gt;' as TableFlag&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Resident Load _Curves;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DISTINCT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;%ID_GL,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Out_Start_Date as CommonDate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Outages&lt;/SPAN&gt;' as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TableFlag&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Outages;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Create master calendar like this way and load your rest of the table it self and keep date fields there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MinMaxDate:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Date(Min(CommonDate)) as MinDate,//Minimum date&lt;/P&gt;&lt;P&gt;Date(Max(CommonDate)) as MaxDate // Maximum date&lt;/P&gt;&lt;P&gt;Resident CommonDateTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMinDate = NUM(PEEK('MinDate',0,'MinMaxDate'));&lt;/P&gt;&lt;P&gt;Let vMaxDate = NUM(PEEK('MaxDate',0,'MinMaxDate'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempDateTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;date($(vMinDate)+IterNo()-1) AS TempDatefield&lt;/P&gt;&lt;P&gt;AutoGenerate 1&lt;/P&gt;&lt;P&gt;WHILE $(vMinDate)+IterNo()-1&amp;lt;= $(vMaxDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MASTER_CALENDAR:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TempDatefield as CommonDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATE((TempDatefield),'YYYYMMDD') AS KEY_PERIOD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATE((TempDatefield),'YYYYMM') AS ID_TIME_YEARMONTH,&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATE(TempDatefield,'MMM-YY') AS ID_TIME_YEARMONTHDESC,&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATE(TempDatefield,'YYYYMMDD') AS ID_TIME_YEARMONTHDAY,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Q'&amp;amp;ceil(Month(TempDatefield)/3) AS ID_TIME_QUARTER,&lt;/P&gt;&lt;P&gt;&amp;nbsp; YEAR(TempDatefield) AS ID_TIME_YEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp; MONTH(TempDatefield) AS ID_TIME_MONTH,&lt;/P&gt;&lt;P&gt;&amp;nbsp; NUM(MONTH(TempDatefield)) AS ID_TIME_MONTH#,&lt;/P&gt;&lt;P&gt;&amp;nbsp; NUM(DAY(TempDatefield)) AS ID_TIME_DAY,&lt;/P&gt;&lt;P&gt;&amp;nbsp; WEEKDAY(TempDatefield) AS ID_TIME_DAY_WEEK,&lt;/P&gt;&lt;P&gt;&amp;nbsp; NUM(TempDatefield) AS ID_TIME_DATE#&lt;/P&gt;&lt;P&gt;Resident TempDateTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table MinMaxDate;&lt;/P&gt;&lt;P&gt;DROP Table TempDateTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 15:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801274#M1049493</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-10T15:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for Multiple Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801275#M1049495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But initially the Flag was missing !&amp;nbsp; That was my point... IF we are making more than one Dates to commondate, there should be a flag indicating difference between different tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, we have now Synthetic Key and Synthetic Table.... But it's OK as it will not affect the result...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 15:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-for-Multiple-Dates/m-p/801275#M1049495</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-10T15:11:44Z</dc:date>
    </item>
  </channel>
</rss>

