<?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 calender value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calender-value/m-p/171091#M41243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the ordetdate field has time value in it ? is it a datetime field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Jan 2011 20:56:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-01-16T20:56:28Z</dc:date>
    <item>
      <title>calender value</title>
      <link>https://community.qlik.com/t5/QlikView/calender-value/m-p/171089#M41241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to create a master calender for my data ,&lt;/P&gt;&lt;P&gt;I have a table in which time_stamp is the date field, the code i am having for master calender is given below , my qlikview table is based of on a sql query select statement , if i run the sql query , i get the chart display with a graph , based on my time_stamp values but as there are some dates missing in the time_stamp , i thought of getting the master calender to get all dates displyed inll formats , and for the dates on which there is no data the graph shows blank ..&lt;/P&gt;&lt;P&gt;But when i use the date values from master calender in the graph , it does not seem as all the metrics are calculated based on the time_stamp&lt;/P&gt;&lt;P&gt;How do i assign time_stamp to this calender ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Calendar:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;vDateMin = Num(MakeDate(2009,1,1)); &lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;vDateMax = Floor(MonthEnd(Today())); &lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;vDateToday = Num(Today()); &lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;TempCalendar:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;I&gt;&lt;B&gt;&lt;I&gt;&lt;/I&gt;&lt;/B&gt;&lt;/I&gt;&lt;/B&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;$(vDateMin)&lt;/P&gt;&lt;B&gt;&lt;I&gt;&lt;/I&gt;&lt;/B&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;+ RowNo() - 1 &lt;B&gt;AS&lt;/B&gt; DateNumber &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(&lt;B&gt;&lt;I&gt;$(vDateMin)&lt;/I&gt;&lt;/B&gt; + RowNo() - 1) &lt;B&gt;AS&lt;/B&gt; Time_stamp &lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;AUTOGENERATE&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;1 &lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;WHILE&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;I&gt;$(vDateMin)&lt;/I&gt;&lt;/B&gt;+IterNo()-1&amp;lt;= &lt;B&gt;&lt;I&gt;$(vDateMax)&lt;/I&gt;&lt;/B&gt;; &lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Calendar:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;AS&lt;/B&gt; CalendarDate &lt;P&gt;,&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;// Standard Date Objects&lt;/P&gt;&lt;P&gt;Day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;AS&lt;/B&gt; CalendarDayOfMonth &lt;P&gt;,&lt;/P&gt;&lt;P&gt;WeekDay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;AS&lt;/B&gt; CalendarDayName &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;AS&lt;/B&gt; CalendarWeekOfYear &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;AS&lt;/B&gt; CalendarMonthName &lt;P&gt;,&lt;/P&gt;&lt;P&gt;'Q'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&amp;amp; Ceil(Month(Time_stamp)/3) &lt;B&gt;AS&lt;/B&gt; CalendarQuarter &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;AS&lt;/B&gt; CalendarYear &lt;P&gt;,&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;// Calendar Date Names&lt;/P&gt;&lt;P&gt;WeekName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarWeekNumberAndYear &lt;P&gt;,&lt;/P&gt;&lt;P&gt;MonthName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarMonthAndYear &lt;P&gt;,&lt;/P&gt;&lt;P&gt;QuarterName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarQuarterMonthsAndYear &lt;P&gt;,&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;// Start Dates&lt;/P&gt;&lt;P&gt;DayStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarDayStart &lt;P&gt;,&lt;/P&gt;&lt;P&gt;WeekStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarWeekStart &lt;P&gt;,&lt;/P&gt;&lt;P&gt;MonthStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarMonthStart &lt;P&gt;,&lt;/P&gt;&lt;P&gt;QuarterStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarQuarterStart &lt;P&gt;,&lt;/P&gt;&lt;P&gt;YearStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarYearStart &lt;P&gt;,&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;// End Dates&lt;/P&gt;&lt;P&gt;DayEnd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarDayEnd &lt;P&gt;,&lt;/P&gt;&lt;P&gt;WeekEnd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarWeekEnd &lt;P&gt;,&lt;/P&gt;&lt;P&gt;MonthEnd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarMonthEnd &lt;P&gt;,&lt;/P&gt;&lt;P&gt;QuarterEnd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarQuarterEnd &lt;P&gt;,&lt;/P&gt;&lt;P&gt;YearEnd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &lt;B&gt;as&lt;/B&gt; CalendarYearEnd &lt;P&gt;,&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;// Combo Date Examples&lt;/P&gt;&lt;P&gt;'Q'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&amp;amp; Ceil(Month(Time_stamp)/3) &amp;amp; '/' &amp;amp; Year(Time_stamp) &lt;B&gt;AS&lt;/B&gt; CalendarQuarterAndYear &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(Time_stamp) &amp;amp; '/' &amp;amp; 'Q' &amp;amp; Ceil(Month(Time_stamp)/3) &lt;B&gt;AS&lt;/B&gt; CalendarYearAndQuarter &lt;P&gt;,&lt;/P&gt;&lt;P&gt;'Wed '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&amp;amp; DayStart(WeekStart(Time_stamp) + 3) &lt;B&gt;as&lt;/B&gt; CalendarWednesdays &lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;RESIDENT&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;TempCalendar &lt;B&gt;ORDER&lt;/B&gt; &lt;B&gt;BY&lt;/B&gt; Time_stamp ASC; &lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;DROP&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;TABLE&lt;/B&gt; &lt;P&gt;&lt;I&gt;TempCalendar;&lt;/I&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;vDateMin = Num(MakeDate(2000,1,1)); &lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;vDateMax = Floor(YearEnd(AddMonths(Today(), 12))); &lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;vDateToday = Num(Today()) &lt;P&gt;;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jan 2011 08:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calender-value/m-p/171089#M41241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-16T08:32:08Z</dc:date>
    </item>
    <item>
      <title>calender value</title>
      <link>https://community.qlik.com/t5/QlikView/calender-value/m-p/171090#M41242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The below is based on a Field "OrderDate" in the Orders table&lt;BR /&gt;The TempCalendar is used to generate all the date between the values&lt;BR /&gt;VarMinDate and VarMaxDate.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LET varMinDate = Num(Peek('OrderDate', 0, 'Orders'));&lt;BR /&gt;LET varMaxDate = Num(Peek('OrderDate', -1, 'Orders'));&lt;BR /&gt;LET vToday = num(today());&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;$(varMinDate)+IterNo()-1 AS Num,&lt;BR /&gt;Date($(varMinDate)+IterNo()-1) AS TempDate&lt;BR /&gt;AUTOGENERATE (1) WHILE $(varMinDate)+IterNo()-1&amp;lt;=&lt;BR /&gt;$(varMaxDate);&lt;/P&gt;&lt;P&gt;//*************** Master Calendar ***************&lt;BR /&gt;MasterCalendar:&lt;BR /&gt;LOAD TempDate AS OrderDate,&lt;BR /&gt;Week(TempDate) AS Week,&lt;BR /&gt;Year(TempDate) AS Year,&lt;BR /&gt;Month(TempDate) AS Month,&lt;BR /&gt;Day(TempDate) AS Day,&lt;BR /&gt;Weekday(TempDate) AS WeekDay,&lt;BR /&gt;applymap('Quarters_Map', num(month(TempDate)),&lt;BR /&gt;null()) AS Quarter,&lt;BR /&gt;Date(monthstart(TempDate), 'MMM-YYYY') AS&lt;BR /&gt;MonthYear,&lt;BR /&gt;Week(TempDate)&amp;amp;'-'&amp;amp;Year(TempDate) AS WeekYear,&lt;BR /&gt;Year2Date(TempDate, 0, 1, $(vToday))*-1 AS&lt;BR /&gt;CurYTDFlag,&lt;BR /&gt;Year2Date(TempDate,-1, 1, $(vToday))*-1 AS&lt;BR /&gt;LastYTDFlag&lt;BR /&gt;RESIDENT TempCalendar&lt;BR /&gt;ORDER BY TempDate ASC;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jan 2011 20:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calender-value/m-p/171090#M41242</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2011-01-16T20:38:39Z</dc:date>
    </item>
    <item>
      <title>calender value</title>
      <link>https://community.qlik.com/t5/QlikView/calender-value/m-p/171091#M41243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the ordetdate field has time value in it ? is it a datetime field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jan 2011 20:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calender-value/m-p/171091#M41243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-16T20:56:28Z</dc:date>
    </item>
    <item>
      <title>calender value</title>
      <link>https://community.qlik.com/t5/QlikView/calender-value/m-p/171092#M41244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an script error saying :&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;&amp;lt;=&amp;gt;&lt;BR /&gt;TempCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;+IterNo()-1 AS Num,&lt;BR /&gt;Date(+IterNo()-1) AS TempDate&lt;BR /&gt;AUTOGENERATE (1) WHILE +IterNo()-1&amp;lt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my script, i just added the tempcalender block to my exiting script which worked fine :&lt;/P&gt;&lt;P&gt;LET varMinDate = Num(Peek('TIME_STAMP', 0, 'RumiUtilization'));&lt;BR /&gt;LET varMaxDate = Num(Peek('TIME_STAMP', -1, 'RumiUtilization'));&lt;BR /&gt;LET vToday = num(today());&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;$(varMinDate)+IterNo()-1 AS Num,&lt;BR /&gt;Date($(varMinDate)+IterNo()-1) AS TempDate&lt;BR /&gt;AUTOGENERATE (1) WHILE $(varMinDate)+IterNo()-1&amp;lt;=&lt;BR /&gt;$(varMaxDate);&lt;/P&gt;&lt;P&gt;//*************** Master Calendar ***************&lt;BR /&gt;MasterCalendar:&lt;BR /&gt;LOAD TempDate AS TIME_STAMP,&lt;BR /&gt;Week(TempDate) AS Week,&lt;BR /&gt;Year(TempDate) AS Year,&lt;BR /&gt;Month(TempDate) AS Month,&lt;BR /&gt;Day(TempDate) AS Day,&lt;BR /&gt;Weekday(TempDate) AS WeekDay,&lt;BR /&gt;applymap('Quarters_Map', num(month(TempDate)),&lt;BR /&gt;null()) AS Quarter,&lt;BR /&gt;Date(monthstart(TempDate), 'MMM-YYYY') AS&lt;BR /&gt;MonthYear,&lt;BR /&gt;Week(TempDate)&amp;amp;'-'&amp;amp;Year(TempDate) AS WeekYear,&lt;BR /&gt;Year2Date(TempDate, 0, 1, $(vToday))*-1 AS&lt;BR /&gt;CurYTDFlag,&lt;BR /&gt;Year2Date(TempDate,-1, 1, $(vToday))*-1 AS&lt;BR /&gt;LastYTDFlag&lt;BR /&gt;RESIDENT TempCalendar&lt;BR /&gt;ORDER BY TempDate ASC;&lt;/P&gt;&lt;P&gt;RumiUtilization:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;RUMI_DEVICE,&lt;BR /&gt;PROJECT,LOCATION,TIME_STAMP,Util_rate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sql select ---- // all my sql select conditions&lt;/P&gt;&lt;P&gt;outer join(RumiUtilization) // loading from excel&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;C:\Users\user\Desktop\test.xlsx&lt;BR /&gt;(ooxml, embedded labels, table is Location_ALL);&lt;/P&gt;&lt;P&gt;outer join(RumiUtilization)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;C:\Users\user\Desktop\test..xlsx&lt;BR /&gt;(ooxml, embedded labels, table is Project_ALL);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jan 2011 21:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calender-value/m-p/171092#M41244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-16T21:10:20Z</dc:date>
    </item>
  </channel>
</rss>

