<?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: Create a Master Calendar based on required Weekstart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-Master-Calendar-based-on-required-Weekstart/m-p/1696669#M724995</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;Let vMin = Num(Makedate(2020,01,01));&lt;BR /&gt;Let vMax = num(Today());&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;Load Date($(vMin)+RowNo()-1) as Date&lt;BR /&gt;AutoGenerate 1&lt;BR /&gt;While Date($(vMin)+RowNo()-1) &amp;lt;Date($(vMax));&lt;/P&gt;&lt;P&gt;Output:&lt;BR /&gt;Load Date,Weekstart(Date,0,0) as Weekstart,&lt;BR /&gt;If(Monthname(WeekStart(Date,0,0))&amp;lt;&amp;gt;Monthname(Date),Monthstart(Date),Weekstart(Date,0,0)) as New_WeekDay&lt;BR /&gt;Resident Temp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Apr 2020 05:30:19 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2020-04-25T05:30:19Z</dc:date>
    <item>
      <title>Create a Master Calendar based on required Weekstart</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Master-Calendar-based-on-required-Weekstart/m-p/1696658#M724994</link>
      <description>&lt;P&gt;I&amp;nbsp; have a Date Field Where it gives all the Dates in a year . from this date&amp;nbsp; I need to derive Weeks as per the requirement .&lt;/P&gt;&lt;P&gt;For Every month Starting week start will be starting day of the month and for other weeks it should consider as Monday.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Example :&lt;/STRONG&gt; For the month of Jan &amp;amp; Feb Months :&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32454iD771AD4B80AD0B23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Example.PNG" alt="Example.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Master-Calendar-based-on-required-Weekstart/m-p/1696658#M724994</guid>
      <dc:creator>QVUser1</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Master Calendar based on required Weekstart</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Master-Calendar-based-on-required-Weekstart/m-p/1696669#M724995</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;Let vMin = Num(Makedate(2020,01,01));&lt;BR /&gt;Let vMax = num(Today());&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;Load Date($(vMin)+RowNo()-1) as Date&lt;BR /&gt;AutoGenerate 1&lt;BR /&gt;While Date($(vMin)+RowNo()-1) &amp;lt;Date($(vMax));&lt;/P&gt;&lt;P&gt;Output:&lt;BR /&gt;Load Date,Weekstart(Date,0,0) as Weekstart,&lt;BR /&gt;If(Monthname(WeekStart(Date,0,0))&amp;lt;&amp;gt;Monthname(Date),Monthstart(Date),Weekstart(Date,0,0)) as New_WeekDay&lt;BR /&gt;Resident Temp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 05:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Master-Calendar-based-on-required-Weekstart/m-p/1696669#M724995</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2020-04-25T05:30:19Z</dc:date>
    </item>
  </channel>
</rss>

