<?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 SV:Re: SV:Re: Calander in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173400#M42600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you replace &lt;B&gt;all&lt;/B&gt; DateId with DateID?&lt;/P&gt;&lt;P&gt;Remember that the field names are case sensitive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2011 09:51:46 GMT</pubDate>
    <dc:creator>gandalfgray</dc:creator>
    <dc:date>2011-03-22T09:51:46Z</dc:date>
    <item>
      <title>Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173391#M42591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Can anyone send me the script of a basic calander?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 08:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173391#M42591</guid>
      <dc:creator />
      <dc:date>2011-03-22T08:34:51Z</dc:date>
    </item>
    <item>
      <title>Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173392#M42592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is the common example for master calender. and try it with more data instead of one month data. because u learned lot thing in that while using huge data's .&lt;/P&gt;&lt;P&gt;Date:&lt;BR /&gt;Load Date as Date,&lt;BR /&gt;if(Month(Date)&amp;lt;=3,Month(Date)+9,Month(Date)-3 ) as Month_Code,&lt;BR /&gt;year(Date) as Year,&lt;BR /&gt;month(Date) as Month,&lt;BR /&gt;week(weekname(Date,-13)) as Week,&lt;BR /&gt;day(Date) as Day&lt;BR /&gt;resident (Tabllename)&lt;BR /&gt;where year(Date) &amp;gt; 2007 and week(weekname(Date,-13)) &amp;lt; 53&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 08:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173392#M42592</guid>
      <dc:creator />
      <dc:date>2011-03-22T08:39:34Z</dc:date>
    </item>
    <item>
      <title>Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173393#M42593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry, this is the basic script for calander .&lt;/P&gt;&lt;P&gt;Date:&lt;BR /&gt;Load Date as Date,&lt;BR /&gt;if(Month(Date)&amp;lt;=3,Month(Date)+9,Month(Date)-3 ) as Month_Code,&lt;BR /&gt;year(Date) as Year,&lt;BR /&gt;month(Date) as Month,&lt;BR /&gt;week(weekname(Date,-13)) as Week,&lt;BR /&gt;day(Date) as Day&lt;BR /&gt;resident (Tabllename)&lt;BR /&gt;where year(Date) &amp;gt; 2007 and week(weekname(Date,-13)) &amp;lt; 53&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 08:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173393#M42593</guid>
      <dc:creator />
      <dc:date>2011-03-22T08:40:22Z</dc:date>
    </item>
    <item>
      <title>Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173394#M42594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marco,&lt;/P&gt;&lt;P&gt;There is a &lt;A href="http://community.qlik.com/wikis/qlikview-wiki/how-to-create-a-calendar.aspx" target="_blank" title="How to create a Calendar"&gt;very good entry in the Wiki&lt;/A&gt; about this written by Michael Solomovich (credits to him).&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 08:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173394#M42594</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-22T08:41:23Z</dc:date>
    </item>
    <item>
      <title>AW:Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173395#M42595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;here is a Calender to integrate in your applications.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 08:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173395#M42595</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-03-22T08:49:07Z</dc:date>
    </item>
    <item>
      <title>Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173396#M42596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all thanks for the quick reactions!&lt;/P&gt;&lt;P&gt;But I'm not there yet.&lt;/P&gt;&lt;P&gt;Can you tell me what is going wrong here?&lt;/P&gt;&lt;P&gt;LET Start = floor(YearStart(AddMonths(today(), -12*3)));&lt;BR /&gt;LET End = floor(YearEnd(AddMonths(today(), 12)));&lt;BR /&gt;&lt;BR /&gt;LET NumOfDays = End - Start + 1;&lt;BR /&gt;&lt;BR /&gt;Date_src:&lt;BR /&gt;LOAD&lt;BR /&gt; $(Start) + Rowno() -1 as DateId&lt;BR /&gt;AUTOGENERATE $(NumOfDays);&lt;BR /&gt;&lt;BR /&gt;Calendar:&lt;BR /&gt;LOAD&lt;BR /&gt; DateId, // just in case&lt;BR /&gt; date(DateId) as Date, // it will be in format defined in your SET DateFormat=, or in your system format&lt;BR /&gt; day(DateID) as Day,&lt;BR /&gt; week(DateID) as Week,&lt;BR /&gt; month(DateID) as Month, // simple month name; it is dual - numeric and text&lt;BR /&gt; dual(month(DateID) &amp;amp; '-' &amp;amp; year(DateID),&lt;BR /&gt; year(DateID) &amp;amp; num(month(DateID), '00')) as MonthYear, // Month-Year format, dual&lt;BR /&gt; year(DateID) as Year,&lt;BR /&gt; weekday(DateID) as Weekday,&lt;BR /&gt; 'Q' &amp;amp; ceil(month(DateID)/3) as Quarter, // in format Q1, Q2, Q3, Q4&lt;BR /&gt; dual('Q' &amp;amp; ceil(month(DateID)/3) &amp;amp; '-' &amp;amp; year(DateID),&lt;BR /&gt; year(DateID) &amp;amp; ceil(month(DateID)/3) as QtrYear // Qn-Year, dual&lt;BR /&gt; // and whatever else you may want here...&lt;BR /&gt;&lt;BR /&gt;RESIDENT Date_src;&lt;BR /&gt;Drop Table Date_src;&lt;BR /&gt;&lt;BR /&gt;LET Start = null();&lt;BR /&gt;LET End = null();&lt;BR /&gt;LET NumOfDays = null();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 08:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173396#M42596</guid>
      <dc:creator />
      <dc:date>2011-03-22T08:59:53Z</dc:date>
    </item>
    <item>
      <title>SV:Re: Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173397#M42597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just two basic syntax errors, as far as i can see:&lt;/P&gt;&lt;P&gt;You need to add a ")" before "as QtrYear" (to end the dual-function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to replace all "DateID" with "DateId" or vice versa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173397#M42597</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-03-22T09:09:13Z</dc:date>
    </item>
    <item>
      <title>SV:Re: Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173398#M42598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;I think the script is oke right now.&lt;/P&gt;&lt;P&gt;The next error is DateId filed not found.&lt;/P&gt;&lt;P&gt;Where is this field suppose to be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173398#M42598</guid>
      <dc:creator />
      <dc:date>2011-03-22T09:47:57Z</dc:date>
    </item>
    <item>
      <title>SV:Re: Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173399#M42599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This DateID Field must be the field in your table which you want to connect to the calendar.&lt;/P&gt;&lt;P&gt;-Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173399#M42599</guid>
      <dc:creator />
      <dc:date>2011-03-22T09:51:29Z</dc:date>
    </item>
    <item>
      <title>SV:Re: SV:Re: Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173400#M42600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you replace &lt;B&gt;all&lt;/B&gt; DateId with DateID?&lt;/P&gt;&lt;P&gt;Remember that the field names are case sensitive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173400#M42600</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-03-22T09:51:46Z</dc:date>
    </item>
    <item>
      <title>Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173401#M42601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi .....meren.&lt;/P&gt;&lt;P&gt;am sending the very simple script for the master calendar. try it once&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;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;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Calendar:&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;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;vDateMin = num(addmonths(date(ToDay()),-27));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET&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;vDateMax = Floor(MonthEnd(Today()))&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;TempCalendar:&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;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;$(vDateMin)&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;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;+ RowNo() - 1 AS DateNumber&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;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;I&gt;$(vDateMin)&lt;/I&gt; + RowNo() - 1) AS TempDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTOGENERATE&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;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHILE&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;I&gt;$(vDateMin)&lt;/I&gt;+IterNo()-1&amp;lt;= &lt;I&gt;$(vDateMax)&lt;/I&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;MasterCalendar1:&lt;/P&gt;&lt;P style="font-style: italic"&gt;LOAD&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;TempDate&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;AS&lt;/P&gt;&lt;P&gt;CalendarDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESIDENT&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;TempCalendar ORDER BY TempDate ASC;&lt;/P&gt;&lt;H3&gt;now we have the "CalendarDate" field contains the calendar data.&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;regards&lt;/H2&gt;&lt;H3&gt;A'run'&lt;/H3&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173401#M42601</guid>
      <dc:creator />
      <dc:date>2011-03-22T09:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calander</title>
      <link>https://community.qlik.com/t5/QlikView/Calander/m-p/173402#M42602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martina ::: Can you tell me how to change the names of month to English?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 15:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calander/m-p/173402#M42602</guid>
      <dc:creator />
      <dc:date>2011-09-27T15:21:16Z</dc:date>
    </item>
  </channel>
</rss>

