<?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 starting on the 1st with partial weeks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendar-starting-on-the-1st-with-partial-weeks/m-p/1388702#M613193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My team is working on some allocation numbers and I haven't been able to figure out how this calendar build should work.&amp;nbsp; Each month/week grouping should start on the 1st of the month and count in 7 day (or less) increments until the end of each month.&amp;nbsp; With this information, I will be able to allocate how many people need to be available per week and per month without having to worry about roll-overs between months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Week Groupings:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 430px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="43" width="86"&gt;Jul 1-7&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Jul 8-14&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Jul 15-21&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Jul 22-28&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Jul 29-31&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="430"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="43" width="86"&gt;Aug 1-7&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Aug 8-14&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Aug 15-21&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Aug 22-28&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Aug 29-31&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="430"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="43" width="86"&gt;Sept 1-7&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Sept 8-14&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Sept 15-21&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Sept 22-28&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Sept 29-30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="430"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="43" width="86"&gt;Oct 1-7&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Oct 8-14&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Oct 15-21&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Oct 22-28&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Oct 29-31&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just can't figure out how to do the extra group of leftover days.&amp;nbsp; Would it be a good place to start to group the day numbers to assign MonthName, Week1, Week2, Week3, Week4, Week5?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2017 22:17:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-03T22:17:56Z</dc:date>
    <item>
      <title>Calendar starting on the 1st with partial weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-starting-on-the-1st-with-partial-weeks/m-p/1388702#M613193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My team is working on some allocation numbers and I haven't been able to figure out how this calendar build should work.&amp;nbsp; Each month/week grouping should start on the 1st of the month and count in 7 day (or less) increments until the end of each month.&amp;nbsp; With this information, I will be able to allocate how many people need to be available per week and per month without having to worry about roll-overs between months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Week Groupings:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 430px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="43" width="86"&gt;Jul 1-7&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Jul 8-14&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Jul 15-21&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Jul 22-28&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Jul 29-31&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="430"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="43" width="86"&gt;Aug 1-7&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Aug 8-14&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Aug 15-21&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Aug 22-28&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Aug 29-31&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="430"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="43" width="86"&gt;Sept 1-7&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Sept 8-14&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Sept 15-21&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Sept 22-28&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Sept 29-30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="430"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="43" width="86"&gt;Oct 1-7&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Oct 8-14&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Oct 15-21&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Oct 22-28&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="86"&gt;Oct 29-31&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just can't figure out how to do the extra group of leftover days.&amp;nbsp; Would it be a good place to start to group the day numbers to assign MonthName, Week1, Week2, Week3, Week4, Week5?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 22:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-starting-on-the-1st-with-partial-weeks/m-p/1388702#M613193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-03T22:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar starting on the 1st with partial weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-starting-on-the-1st-with-partial-weeks/m-p/1388703#M613194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you want to group within the month without crossover the below logic should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Date, month(Date), ceil(day(Date)/7) as week &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From table ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 09:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-starting-on-the-1st-with-partial-weeks/m-p/1388703#M613194</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2017-10-04T09:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar starting on the 1st with partial weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-starting-on-the-1st-with-partial-weeks/m-p/1388704#M613195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Susant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked for me:&lt;/P&gt;&lt;P&gt;ceil(Day(Date(D))/7 as WeekNum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-starting-on-the-1st-with-partial-weeks/m-p/1388704#M613195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-05T14:23:56Z</dc:date>
    </item>
  </channel>
</rss>

