<?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: Calendar Object2 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746906#M1041127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, My doubt is, Like where am I declaring the Column name in the code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my table, MONTH_YEAR is the column, which has the Date information as "JAN 2011",... etc.&lt;/P&gt;&lt;P&gt;So Should I declare Month_Year as the column in place of Cal_Year ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2014 12:02:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-18T12:02:18Z</dc:date>
    <item>
      <title>Calendar Object2</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746900#M1041121</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 have a table with following columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="245"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="103"&gt;Month Number&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="78"&gt;Month Year&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;YEAR&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;January&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;January&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1990&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a DATE OBJECT (CALENDAR OBJECT) with these columns. Can anyone help me with this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 13:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746900#M1041121</guid>
      <dc:creator />
      <dc:date>2014-12-16T13:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object2</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746901#M1041122</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;First create master calender then use Date_Field as input in calendar&amp;nbsp; object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 13:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746901#M1041122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-16T13:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object2</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746902#M1041123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to create it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which column, I should use for creating it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can Iuse this code for Master Calendar ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt; Load&lt;/P&gt;&lt;P&gt; TempDate As OrderDate,&lt;/P&gt;&lt;P&gt; Week(TempDate) As Week,&lt;/P&gt;&lt;P&gt; Year(TempDate) As Year,&lt;/P&gt;&lt;P&gt; Month(TempDate) As Month&lt;/P&gt;&lt;P&gt; resident TempCalendar;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746902#M1041123</guid>
      <dc:creator />
      <dc:date>2014-12-16T14:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object2</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746903#M1041124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;Use below code for master calender :&lt;/P&gt;&lt;P&gt;//Script One&lt;/P&gt;&lt;P&gt;Let varMinDate = num(MakeDate(2000,1,1));&lt;/P&gt;&lt;P&gt;Let varMaxDate = num(MakeDate(2020,12,31));&lt;/P&gt;&lt;P&gt;//*************** Temporary Calendar ***************&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(varMinDate) + rowno() - 1 AS Num,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date($(varMinDate) + rowno() - 1) AS TempDate&lt;/P&gt;&lt;P&gt;AUTOGENERATE&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(varMaxDate) - $(varMinDate) + 1;&lt;/P&gt;&lt;P&gt;//*************** Master Calendar ***************&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD TempDate AS CalDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(weekday(TempDate)='Sat' or weekday(TempDate)='Sun',0,1) as PlannedBD2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 As PlannedBD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; weekday(TempDate) as CalDayStr,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week(TempDate) AS CalWeek,&lt;/P&gt;&lt;P&gt;&amp;nbsp; WeekYear(TempDate) AS CalTestWeek,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate) AS CalYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(TempDate) AS CalMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; year(TempDate)&amp;amp;'-'&amp;amp;Month(TempDate) AS CalYear_Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; MonthName(TempDate) AS CalYearMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Day(TempDate) AS CalDayNo,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Q'&amp;amp;ceil(month(TempDate)/3) AS CalQuarter&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar&lt;/P&gt;&lt;P&gt;ORDER BY TempDate ASC;&lt;/P&gt;&lt;P&gt;DROP TABLE TempCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create multiple calender objects then you should create data Island (separate table for each field for calendar object)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pro_Start_Date:&lt;/P&gt;&lt;P&gt;LOAD TempDate AS _QA_Start_Date&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UAT_Start_date:&lt;/P&gt;&lt;P&gt;LOAD TempDate AS _UAT_Start_date&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 10:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746903#M1041124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-17T10:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object2</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746904#M1041125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Balkumar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And should I add the varMinDate and varMaxDate in SHEET PROPERTIES&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I meant, Should I declare the values in Sheet properties like varMinDate = min(Month_Year) and varMaxDate= max(Month_Year)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 11:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746904#M1041125</guid>
      <dc:creator />
      <dc:date>2014-12-18T11:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object2</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746905#M1041126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As your script loaded first so you need to assign &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;varMinDate and &lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;varMaxDate in script itself. If you want to use min date and max date in your UI you can reassign the values to both variables in sheet as well for UI use.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 11:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746905#M1041126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-18T11:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object2</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746906#M1041127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, My doubt is, Like where am I declaring the Column name in the code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my table, MONTH_YEAR is the column, which has the Date information as "JAN 2011",... etc.&lt;/P&gt;&lt;P&gt;So Should I declare Month_Year as the column in place of Cal_Year ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 12:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746906#M1041127</guid>
      <dc:creator />
      <dc:date>2014-12-18T12:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object2</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746907#M1041128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes replace the columns as required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 12:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object2/m-p/746907#M1041128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-18T12:34:31Z</dc:date>
    </item>
  </channel>
</rss>

