<?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 Week function to work on Calender week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Week-function-to-work-on-Calender-week/m-p/210723#M65185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, it sounds like you want your week to start on Sunday instead of on Monday? And you want your week numbers to start and end in each month?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;1+ceil((Date-floor(weekend(monthstart(Date),0,-1)))/7) as "US Week but Start and End in Month"&lt;/P&gt;&lt;P&gt;See attached for the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jul 2010 22:23:58 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-07-01T22:23:58Z</dc:date>
    <item>
      <title>Week function to work on Calender week</title>
      <link>https://community.qlik.com/t5/QlikView/Week-function-to-work-on-Calender-week/m-p/210721#M65183</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 MonthName, &amp;amp; I wish to divide the month in 5 week's Week1, week2,..........Week5. But suppose if the month is Apr 2010 then it's first week :- has only 3 days since 1 st falls on Thursday. So I should get Month :- April 2010 Week :- Week1, WeekStartDate :- 01-Apr-2010 Week End Date :- 03-Apr-2010, Similarly Week2 Week2StartDate:- 04-Apr-2010 Week2EndDate:- 10-Apr-2010&lt;/P&gt;&lt;P&gt;and Week:- Week5 , WeekStart Date :- 25-Apr-2010 , WeekEndDate:- 30-Apr-2010.&lt;/P&gt;&lt;P&gt;If anyone knows how to do that for every month including feb please let me know. Thanks in advance.&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 10:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-function-to-work-on-Calender-week/m-p/210721#M65183</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2010-07-01T10:13:01Z</dc:date>
    </item>
    <item>
      <title>Week function to work on Calender week</title>
      <link>https://community.qlik.com/t5/QlikView/Week-function-to-work-on-Calender-week/m-p/210722#M65184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've attached something I've used...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd only need to name the first day of your range, and I presume the last one.&lt;/P&gt;&lt;P&gt;Not sure if this'll help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 10:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-function-to-work-on-Calender-week/m-p/210722#M65184</guid>
      <dc:creator />
      <dc:date>2010-07-01T10:42:01Z</dc:date>
    </item>
    <item>
      <title>Week function to work on Calender week</title>
      <link>https://community.qlik.com/t5/QlikView/Week-function-to-work-on-Calender-week/m-p/210723#M65185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, it sounds like you want your week to start on Sunday instead of on Monday? And you want your week numbers to start and end in each month?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;1+ceil((Date-floor(weekend(monthstart(Date),0,-1)))/7) as "US Week but Start and End in Month"&lt;/P&gt;&lt;P&gt;See attached for the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 22:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-function-to-work-on-Calender-week/m-p/210723#M65185</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-01T22:23:58Z</dc:date>
    </item>
  </channel>
</rss>

