<?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: Re: How to Change this Master Calendar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571621#M212963</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;Use the below logic to load your script on every month first sunday.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Let&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vMonth_FirstSunday&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&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;WeekEnd&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;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())),'DD/MM/YYYY');&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vToday&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&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;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),'DD/MM/YYYY');&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vToday)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vMonth_FirstSunday)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;Test:&lt;BR /&gt;&lt;/SPAN&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;'First' &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;First&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;AutoGenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;ELSE&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;Test1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;'Second' &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;Second&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;AutoGenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 1;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;ENDIF &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;Hope this helps you..!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2014 08:47:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-29T08:47:22Z</dc:date>
    <item>
      <title>How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571619#M212961</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; I have a QVW which will generate QVD on weekly basis. &lt;/P&gt;&lt;P&gt;now i need to change the master calendar to generate the QVD in Monthly basis. This is the master calendar we are using&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;LET tableloadStartTime=0;&lt;/P&gt;&lt;P&gt;SET vTotalRecordCount = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let NoOfDaysShift =0;&lt;/P&gt;&lt;P&gt;LET tableloadStartTime=Now(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(WeekDay(today())&amp;lt;&amp;gt; 'Sat') and (WeekDay(today())&amp;lt;&amp;gt; 'Sun') Then&lt;/P&gt;&lt;P&gt;let NoOfDaysShift= num(WeekDay(today())*-1)-1;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;IF (WeekDay(today())= 'Sun') Then&lt;/P&gt;&lt;P&gt;let NoOfDaysShift= -1;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;let vExecDate = date(today()+$(NoOfDaysShift),'MM/DD/YYYY') ;&lt;/P&gt;&lt;P&gt;trace The date of execution is : $(vExecDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vToday = Today(1); // Custom Run&lt;/P&gt;&lt;P&gt;Let vToday_Num = num(floor(today(1)+$(NoOfDaysShift)));&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;According to this code QVD will generate on Every Sunday in a week. &lt;/P&gt;&lt;P&gt;Now i need to Change the code to load QVD on sunday in a Monthly once&lt;/P&gt;&lt;P&gt;EX: suppose if i run QVW on 29-4-2014 it generate the QVD based on 27-4-2014.&lt;/P&gt;&lt;P&gt;next if i change the let NoOfDaysShift= num(WeekDay(today())*-1)-1; code to &lt;/P&gt;&lt;P&gt;let NoOfDaysShift= num(WeekDay(today())*-1)+5; it will generate next sunday date which is 03-05-2014 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same way i need to change the code . I need to generate the QVD on Monthly basis..&lt;/P&gt;&lt;P&gt;means if i run the QVW today it have to run Only first sunday of every month (i.e 6-4-2014). if i run the QVW tomarrow , also it has to run on 6-4-2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the next month it have to run on 4-5-2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to change the Master Calendar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 05:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571619#M212961</guid>
      <dc:creator />
      <dc:date>2014-04-29T05:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571620#M212962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please respond any one...I need help Immediately..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhinav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 07:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571620#M212962</guid>
      <dc:creator />
      <dc:date>2014-04-29T07:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571621#M212963</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;Use the below logic to load your script on every month first sunday.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Let&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vMonth_FirstSunday&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&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;WeekEnd&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;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())),'DD/MM/YYYY');&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vToday&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&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;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),'DD/MM/YYYY');&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vToday)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vMonth_FirstSunday)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;Test:&lt;BR /&gt;&lt;/SPAN&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;'First' &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;First&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;AutoGenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;ELSE&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;Test1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;'Second' &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;Second&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;AutoGenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 1;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;ENDIF &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;Hope this helps you..!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 08:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571621#M212963</guid>
      <dc:creator />
      <dc:date>2014-04-29T08:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571622#M212964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to modify the same master calendar to Monthly basis..can u tell me how to do that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 09:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571622#M212964</guid>
      <dc:creator />
      <dc:date>2014-04-29T09:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571623#M212965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach your sample app ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 09:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571623#M212965</guid>
      <dc:creator />
      <dc:date>2014-04-29T09:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571624#M212966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have attached my qvw ..pls check it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 10:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571624#M212966</guid>
      <dc:creator />
      <dc:date>2014-04-29T10:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571625#M212967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the below script instead of your Main tab script&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&amp;nbsp; &lt;STRONG&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;$(Include=../../../Include/WW/IntegratedReporting/IntegratedReportingGlobal.txt)&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;tableloadStartTime&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vTotalRecordCount&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 0;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;tableloadStartTime&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Now&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vExecDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&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;WeekEnd&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;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())),'MM/DD/YYYY');&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;TRACE&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; The date of execution is : &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vExecDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vToday&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1); &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// Custom Run&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vToday_Num&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vExecDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope this helps you..!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 10:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571625#M212967</guid>
      <dc:creator />
      <dc:date>2014-04-29T10:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571626#M212968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find out min and max date from one or two tables and find attached complete master calender scripts from live software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEMP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Max(MaxDate) AS MaxDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Source QVDs SIM\DIM_minmax_date.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/**********************Select Min and Max Date from 'TEMP' Table*************/&lt;/P&gt;&lt;P&gt;LET varMinDate = Num(MakeDate(2008,04,01)); //Num(peek('MinDate', 0, 'TEMP'));&lt;/P&gt;&lt;P&gt;LET varMaxDate = Num(peek('MaxDate', 0, 'TEMP'));&lt;/P&gt;&lt;P&gt;LET vToday = Num(today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE TEMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//LET varMinDate = Num(MakeDate(2007,1,1));&lt;/P&gt;&lt;P&gt;//LET varMinDate = Num(MakeDate(2007,1,1));&lt;/P&gt;&lt;P&gt;//LET varMaxDate = Floor(YearEnd(AddMonths(Today(), 24)));&lt;/P&gt;&lt;P&gt;//LET vToday = Num(today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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; $(varMinDate)+IterNo()-1 AS Num,&lt;/P&gt;&lt;P&gt; Date($(varMinDate)+IterNo()-1) AS TempDate&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1 WHILE $(varMinDate)+IterNo()-1&amp;lt;= $(varMaxDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//*************** Master Calendar ***************&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD TempDate AS [Posting Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp; TempDate AS %Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YearName(TempDate,0,4) AS FinancialYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Yearstart(TempDate,0,4)) AS YearStart,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Yearend(TempDate,0,4)) AS YearEnd,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Num(Date(Yearstart(TempDate,0,4),'YYYY')) AS FinancialYearNo,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date(MonthStart(TempDate),'MMM-YY') AS MonthYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(TempDate) AS MonthName,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Num(Month(TempDate))&amp;gt;3,Num(Month(TempDate))-3,Num(Month(TempDate))+9) AS MonthNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp; MonthStart(TempDate) AS MonthStart,&lt;/P&gt;&lt;P&gt;&amp;nbsp; MonthEnd(TempDate) AS MonthEnd,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate) AS Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Q' &amp;amp; alt(if(Month(TempDate)&amp;lt;4,4),if(Month(TempDate)&amp;lt;7,1),if(Month(TempDate)&amp;lt;10,2),3) AS Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp; quarterstart(TempDate,0,4) AS QuarterStart,&lt;/P&gt;&lt;P&gt;&amp;nbsp; quarterend(TempDate,0,4) AS QuarterEnd,&lt;/P&gt;&lt;P&gt;&amp;nbsp; quartername(TempDate,0,4) AS QuarterName,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Num(Month(TempDate))&amp;gt;3,Year(TempDate)+1,Year(TempDate)) AS FiscalYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AutoNumber(Month(TempDate) &amp;amp; Year(TempDate)) AS Sequential,&lt;/P&gt;&lt;P&gt;&amp;nbsp; NUM(TempDate) AS DateNum,&lt;/P&gt;&lt;P&gt;&amp;nbsp; monthname(TempDate) AS CalMonthYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Day(TempDate) &amp;amp;'-'&amp;amp; Date(TempDate,'MMM') AS DayMon,&lt;/P&gt;&lt;P&gt;&amp;nbsp; num(Year(TempDate)&amp;amp;num(Month(TempDate),'00')) as YEAR_MONTH, // Link between tables for previous month / year selection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num((Year(TempDate)-1)&amp;amp;num(Month(TempDate),'00')) AS YEAR_MONTH_PREVIOUS, // Link between tables for previous month / year selection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num((Year(TempDate)-2)&amp;amp;num(Month(TempDate),'00')) AS P_YEAR_MONTH_PREVIOUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar&amp;nbsp; &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;Hope this helps you&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 10:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571626#M212968</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2014-04-29T10:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571627#M212969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply its working good...but to check for next month&amp;nbsp; u have not written...like earlier code if we change the noofshiftdays&amp;nbsp; we can check next week or month data by increasing &lt;/P&gt;&lt;P&gt;let NoOfDaysShift= num((WeekDay(MonthStart(today())))*-1)+6;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 10:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571627#M212969</guid>
      <dc:creator />
      <dc:date>2014-04-29T10:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571628#M212970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think when the time comes, the variable itself will shows the next months first sunday date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i am not wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 11:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571628#M212970</guid>
      <dc:creator />
      <dc:date>2014-04-29T11:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571629#M212971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;you can use like this also&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&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;WeekEnd&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;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),1))),'MM/DD/YYYY')&amp;nbsp; ---&amp;gt; for the next month&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=Date(WeekEnd(Monthstart(AddMonths(Today(),-1))),'MM/DD/YYYY')&amp;nbsp; ----&amp;gt; for the previous month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=Date(WeekEnd(Monthstart(AddMonths(Today(),0))),'MM/DD/YYYY')&amp;nbsp; ----&amp;gt; for the current month&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 11:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571629#M212971</guid>
      <dc:creator />
      <dc:date>2014-04-29T11:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571630#M212972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi ,&lt;/P&gt;&lt;P&gt;Thanks for the Reply.. Its Working Fine...Please add me as your friend ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 11:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571630#M212972</guid>
      <dc:creator />
      <dc:date>2014-04-29T11:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571631#M212973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I got your point now&lt;/P&gt;&lt;P&gt;try the below script&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$(Include=../../../Include/WW/IntegratedReporting/IntegratedReportingGlobal.txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET tableloadStartTime=0;&lt;BR /&gt;SET vTotalRecordCount = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET tableloadStartTime=Now(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMonthShift =0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vExecDate = Date(WeekEnd(Monthstart(AddMonths(Today(),$(vMonthShift)))),'MM/DD/YYYY');&lt;BR /&gt;TRACE The date of execution is : $(vExecDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vToday = Today(1); // Custom Run&lt;BR /&gt;LET vToday_Num = num(floor(vExecDate));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 11:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571631#M212973</guid>
      <dc:creator />
      <dc:date>2014-04-29T11:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change this Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571632#M212974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for accepting me as friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need one more help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the First QVW which i have attached..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to run the QVW in Every sunday in a month ,&lt;/P&gt;&lt;P&gt;after the month end i need to show all the 4 or 5 weeks&amp;nbsp; QVD&amp;nbsp; data whcih is append to every week&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 i run the QVW in any day in a month it has to generate the QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: if i run today it will load the QVD based on previous week sunday(i.e 26-4-2014)&lt;/P&gt;&lt;P&gt;like that after month end we need to show all the weekly data in month ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we do this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 12:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Change-this-Master-Calendar/m-p/571632#M212974</guid>
      <dc:creator />
      <dc:date>2014-04-29T12:03:27Z</dc:date>
    </item>
  </channel>
</rss>

