<?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 calendar automatically generation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calendar-automatically-generation/m-p/163490#M36585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;use this set minyear=2009; set maxyear=2010; for i=$(minyear) to $(maxyear) CalendarRaw: load date(makedate($(i))+recno()-1,'DD-MM-YYYY') as Calendar autogenerate 365; next i Hope this will solve the problem&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Aug 2010 12:35:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-17T12:35:07Z</dc:date>
    <item>
      <title>calendar automatically generation</title>
      <link>https://community.qlik.com/t5/QlikView/calendar-automatically-generation/m-p/163489#M36584</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 want to add a time dimension and i don't know how to generate automatically a calendar on Qlikview with a min and max date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yours faithfully&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 10:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calendar-automatically-generation/m-p/163489#M36584</guid>
      <dc:creator />
      <dc:date>2010-08-17T10:12:03Z</dc:date>
    </item>
    <item>
      <title>calendar automatically generation</title>
      <link>https://community.qlik.com/t5/QlikView/calendar-automatically-generation/m-p/163490#M36585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;use this set minyear=2009; set maxyear=2010; for i=$(minyear) to $(maxyear) CalendarRaw: load date(makedate($(i))+recno()-1,'DD-MM-YYYY') as Calendar autogenerate 365; next i Hope this will solve the problem&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 12:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calendar-automatically-generation/m-p/163490#M36585</guid>
      <dc:creator />
      <dc:date>2010-08-17T12:35:07Z</dc:date>
    </item>
    <item>
      <title>calendar automatically generation</title>
      <link>https://community.qlik.com/t5/QlikView/calendar-automatically-generation/m-p/163491#M36586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find this :&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;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&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in = 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;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; TempDate &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;MasterCalendar:&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;TempDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;AS&lt;/B&gt; CalendarDate &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(TempDate) &lt;B&gt;AS&lt;/B&gt; CalendarDay &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;(TempDate) &lt;B&gt;AS&lt;/B&gt; CalendarWeekDay &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;(TempDate) &lt;B&gt;AS&lt;/B&gt; CalendarWeek &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;(TempDate) &lt;B&gt;AS&lt;/B&gt; CalendarMonth &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;(TempDate) &lt;B&gt;AS&lt;/B&gt; CalendarYear &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(TempDate)/3) &lt;B&gt;AS&lt;/B&gt; CalendarQuarter &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;(TempDate) &amp;amp; '-' &amp;amp; Year(TempDate) &lt;B&gt;AS&lt;/B&gt; CalendarWeekAndYear &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;(TempDate) &amp;amp; '-' &amp;amp; Year(TempDate) &lt;B&gt;AS&lt;/B&gt; CalendarMonthAndYear &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; TempDate 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>Tue, 17 Aug 2010 12:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calendar-automatically-generation/m-p/163491#M36586</guid>
      <dc:creator />
      <dc:date>2010-08-17T12:43:12Z</dc:date>
    </item>
    <item>
      <title>calendar automatically generation</title>
      <link>https://community.qlik.com/t5/QlikView/calendar-automatically-generation/m-p/163492#M36587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe the following code could help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Set Init_Date= Date('01/01/2000', 'DD/MM/YYYY');&lt;BR /&gt;Set Final_Date = Date('31/12/2002', 'DD/MM/YYYY');&lt;BR /&gt;Calendar:&lt;BR /&gt; load Date($(Init_Date) - 1 + RecNo(), 'DD/MM/YYYY') as Date&lt;BR /&gt; autogenerate ($(Final_Date) - $(Init_Date) + 1);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 12:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calendar-automatically-generation/m-p/163492#M36587</guid>
      <dc:creator />
      <dc:date>2010-08-17T12:47:10Z</dc:date>
    </item>
  </channel>
</rss>

