<?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: Get error massage when i try to create master calendar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525709#M1267674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why you need two steps to get the min and max dates. This means you have two tables containing MinDate and MaxDate as fields.Perhaps this is confusing the Peek, because I see that varMinDate and varMaxDate are both blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tmp:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; min(Date) AS MinDate,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; max(Date) AS MaxDate&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RESIDENT ABSEN;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET varMinDate = Num(Peek('MinDate'));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET varMaxDate = Num(Peek('MaxDate'));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vToday = num(today());&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP TABLE tmp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2013 07:49:18 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2013-12-04T07:49:18Z</dc:date>
    <item>
      <title>Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525694#M1267643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get following error msg :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script line error: &lt;/P&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; + rowno() - 1 AS Num, &lt;/P&gt;&lt;P&gt;&amp;nbsp; date( + rowno() - 1) AS TempDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date( + rowno() - 1) AS D,&lt;/P&gt;&lt;P&gt;&amp;nbsp; year( + rowno() - 1) AS Y,&lt;/P&gt;&lt;P&gt;&amp;nbsp; month( + rowno() - 1) AS M,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date(monthstart( + rowno() - 1), 'MMM-YYYY') AS MY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTOGENERATE&amp;nbsp; -&amp;nbsp; + 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one share with me where i go wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525694#M1267643</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525695#M1267647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try The below script.. Hope it will help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AutoGenerationDate:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;RecNo( ) as A,&lt;/P&gt;&lt;P&gt;if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1))) as AutoDate,&lt;/P&gt;&lt;P&gt;date(if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1))),'DD/MM/YYYY') as AutoDate_new,&lt;/P&gt;&lt;P&gt;year(if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1)))) as AutoYear,&lt;/P&gt;&lt;P&gt;Month(if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1)))) as NormalMonth,&lt;/P&gt;&lt;P&gt;MonthName(if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1)))) as My,&lt;/P&gt;&lt;P&gt;if(wildmatch(month((if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1))))),'Jan','Feb','Mar'),year((if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1)))))-1,year((if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1)))))) as Fin_Year,&lt;/P&gt;&lt;P&gt;if(month((if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1)))))&amp;lt;=3,month((if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1)))))+9,month((if(RecNo()=1,date(MakeDate(2001,1,1)),date((Peek("AutoDate")+1)))))-3) as Fin_Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;autogenerate(50000); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(AutoGenerationDate)&lt;/P&gt;&lt;P&gt;//Entry_DT_QTR:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Fin_Month, Month_New,QTR&lt;/P&gt;&lt;P&gt;1, Apr,Q1&lt;/P&gt;&lt;P&gt;2, May,Q1&lt;/P&gt;&lt;P&gt;3, Jun,Q1&lt;/P&gt;&lt;P&gt;4, Jul,Q2&lt;/P&gt;&lt;P&gt;5, Aug,Q2&lt;/P&gt;&lt;P&gt;6, Sep,Q2&lt;/P&gt;&lt;P&gt;7, Oct,Q3&lt;/P&gt;&lt;P&gt;8, Nov,Q3&lt;/P&gt;&lt;P&gt;9, Dec,Q3&lt;/P&gt;&lt;P&gt;10, Jan,Q4&lt;/P&gt;&lt;P&gt;11, Feb,Q4&lt;/P&gt;&lt;P&gt;12, Mar,Q4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 04:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525695#M1267647</guid>
      <dc:creator />
      <dc:date>2013-12-04T04:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525696#M1267650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your script very special.&lt;/P&gt;&lt;P&gt;The 2 table not link by date field.&lt;/P&gt;&lt;P&gt;i try to link by Date field.&lt;/P&gt;&lt;P&gt;But it cannot work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 05:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525696#M1267650</guid>
      <dc:creator />
      <dc:date>2013-12-04T05:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525697#M1267652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 05:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525697#M1267652</guid>
      <dc:creator />
      <dc:date>2013-12-04T05:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525698#M1267654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see my QV doc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 05:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525698#M1267654</guid>
      <dc:creator />
      <dc:date>2013-12-04T05:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525699#M1267656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to reload now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 05:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525699#M1267656</guid>
      <dc:creator />
      <dc:date>2013-12-04T05:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525700#M1267658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are just missing a comma after "MY". &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;+ &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rowno&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() - 1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( + &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rowno&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() - 1) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( + &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rowno&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() - 1) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;D&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( + &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rowno&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() - 1) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Y&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( + &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rowno&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() - 1) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;M&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;monthstart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( + &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rowno&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() - 1), 'MMM-YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AUTOGENERATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; - + 1&lt;BR /&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 05:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525700#M1267658</guid>
      <dc:creator />
      <dc:date>2013-12-04T05:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525701#M1267660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After add the comma , the error msg go away.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now another issue came out , it does generate a calendar table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 06:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525701#M1267660</guid>
      <dc:creator />
      <dc:date>2013-12-04T06:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525702#M1267662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;Not sure if&amp;nbsp; I understand you. Can you elaborate a little?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525702#M1267662</guid>
      <dc:creator />
      <dc:date>2013-12-04T07:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525703#M1267664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you try the below one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525703#M1267664</guid>
      <dc:creator />
      <dc:date>2013-12-04T07:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525704#M1267666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After no error , it should generate 1 table for master calendar . but table does appear. only 1 table appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the enclsoed QV doc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525704#M1267666</guid>
      <dc:creator />
      <dc:date>2013-12-04T07:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525705#M1267669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do you mean have i try below one ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525705#M1267669</guid>
      <dc:creator />
      <dc:date>2013-12-04T07:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525706#M1267671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you have a variable that is undefined. For example, the first line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; + Rowno() - 1 as Num&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is probably something like (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; $(vStart) + Rowno() - 1 as Num&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and vStart is undefined. I dont know the actual variable name in your script (I cant open the qvw you uploaded), so replace vStart with the correct variable name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525706#M1267671</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-12-04T07:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525707#M1267672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I add the 2 var name you mean i missing . i also put in some value , but each time i enter , it get missing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525707#M1267672</guid>
      <dc:creator />
      <dc:date>2013-12-04T07:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525708#M1267673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fixed it for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525708#M1267673</guid>
      <dc:creator>Alejandro_Hernández</dc:creator>
      <dc:date>2013-12-04T07:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525709#M1267674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why you need two steps to get the min and max dates. This means you have two tables containing MinDate and MaxDate as fields.Perhaps this is confusing the Peek, because I see that varMinDate and varMaxDate are both blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tmp:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; min(Date) AS MinDate,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; max(Date) AS MaxDate&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RESIDENT ABSEN;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET varMinDate = Num(Peek('MinDate'));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET varMaxDate = Num(Peek('MaxDate'));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vToday = num(today());&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP TABLE tmp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525709#M1267674</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-12-04T07:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525710#M1267675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alej,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i add below script to get the field for calendar , i get error msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD TempDate AS date, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dual(Right(Year(TempDate), 2), YearStart(TempDate)) as year_&lt;/P&gt;&lt;P&gt;&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;ORDER BY TempDate ASC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE TempCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea why ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table not found&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD TempDate AS date, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dual(Right(Year(TempDate), 2), YearStart(TempDate)) as year_&lt;/P&gt;&lt;P&gt;&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;ORDER BY TempDate ASC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525710#M1267675</guid>
      <dc:creator />
      <dc:date>2013-12-04T07:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525711#M1267676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jona&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are very right , my mistake . as i use my old script which . because last time some one give the script to me. now no more error , because some one have fix the problem. now next problem. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525711#M1267676</guid>
      <dc:creator />
      <dc:date>2013-12-04T07:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525712#M1267677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very one here for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I manage to solve the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 08:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525712#M1267677</guid>
      <dc:creator />
      <dc:date>2013-12-04T08:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get error massage when i try to create master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525713#M1267678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry.... wrong entry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 08:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-error-massage-when-i-try-to-create-master-calendar/m-p/525713#M1267678</guid>
      <dc:creator />
      <dc:date>2013-12-04T08:57:17Z</dc:date>
    </item>
  </channel>
</rss>

