<?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 Link master calendar with 3 date fields from same table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343035#M126692</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;As you have already discovered, you cant link three separate dates to the same master calendar. There are several ways around this problem, but one of the simplest is to use 3 master calendars (eg CALHired, CALSep, CALRes). You will need to qualify the field names (eg MonthHired, MonthSep, MonthRes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display these on a chart, create a 4th calendar, not linked to any of the date fields (eg CALIsland). This is a date island dimension. Use MonthIsland&amp;nbsp; and then these expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hired:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(If(MonthHired = MonthIsland, EmployeeID))&lt;/P&gt;&lt;P&gt;Separated:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(If(MonthSep = MonthIsland, EmployeeID))&lt;/P&gt;&lt;P&gt;Resigned:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(If(MonthRed = MonthIsland, EmployeeID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(adjust field names and expressions to your particular requirements)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2012 15:40:21 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2012-04-09T15:40:21Z</dc:date>
    <item>
      <title>Link master calendar with 3 date fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343034#M126691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi All, I have an Employee having 3 DATE fields (i.e. Joining Date, Separation Date, Resignation Date). I have a master calendar created. I would like to join all three date fields with the Master calendar. I tried my best but din't succeed yet. The logic which we are trying are If I select a year from Master calendar i would like to see&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Number of Employees hired in that year.&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;&amp;nbsp; 2. Number of employees Sperated in that year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. Number of employees who hav applied for resignation in that year.&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if anyone can please help me with it. Its an urgent req.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks to all. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 15:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343034#M126691</guid>
      <dc:creator />
      <dc:date>2012-04-09T15:03:13Z</dc:date>
    </item>
    <item>
      <title>Link master calendar with 3 date fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343035#M126692</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;As you have already discovered, you cant link three separate dates to the same master calendar. There are several ways around this problem, but one of the simplest is to use 3 master calendars (eg CALHired, CALSep, CALRes). You will need to qualify the field names (eg MonthHired, MonthSep, MonthRes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display these on a chart, create a 4th calendar, not linked to any of the date fields (eg CALIsland). This is a date island dimension. Use MonthIsland&amp;nbsp; and then these expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hired:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(If(MonthHired = MonthIsland, EmployeeID))&lt;/P&gt;&lt;P&gt;Separated:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(If(MonthSep = MonthIsland, EmployeeID))&lt;/P&gt;&lt;P&gt;Resigned:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(If(MonthRed = MonthIsland, EmployeeID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(adjust field names and expressions to your particular requirements)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 15:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343035#M126692</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-04-09T15:40:21Z</dc:date>
    </item>
    <item>
      <title>Link master calendar with 3 date fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343036#M126693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Jonathan, thanks for your quick reply will def try as u hav mentoined&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 16:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343036#M126693</guid>
      <dc:creator />
      <dc:date>2012-04-09T16:28:20Z</dc:date>
    </item>
    <item>
      <title>Link master calendar with 3 date fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343037#M126694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Jonathan tried using the condition you have mentioned. As CalIsland not connected to any table or any field in the data model. but when i use&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Hired:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(If(MonthHired = MonthIsland, EmployeeID))&lt;/P&gt;&lt;P&gt;it doesn't display the count. Cna you please help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 05:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343037#M126694</guid>
      <dc:creator />
      <dc:date>2012-04-10T05:47:13Z</dc:date>
    </item>
    <item>
      <title>Link master calendar with 3 date fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343038#M126695</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;Can you post your qvw so that we can look at it in order to help you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 20:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343038#M126695</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-04-11T20:02:43Z</dc:date>
    </item>
    <item>
      <title>Link master calendar with 3 date fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343039#M126696</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;Create a pivot table with function crosstable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact_Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; other attributes....,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumber(Hash128(Date1, Date2,&amp;nbsp; Date3), 'id_date') As id_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// This one is generated by crosstable. date_type contains the name of the date field of Fact_Table&lt;/P&gt;&lt;P&gt;Pivot_Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date_type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Master_Calendar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 21:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-master-calendar-with-3-date-fields-from-same-table/m-p/343039#M126696</guid>
      <dc:creator>nstefaniuk</dc:creator>
      <dc:date>2012-04-11T21:08:06Z</dc:date>
    </item>
  </channel>
</rss>

