<?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: Redefining the Week Numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102680#M895309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;normal week start on sunday. if you Need that sunday belongs to previous week you Need to adjust the week&lt;/P&gt;&lt;P&gt;if (weekday(TempDate)='Su', week(TempDate)-1, week(TempDate)) as Week&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2016 07:19:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-02T07:19:23Z</dc:date>
    <item>
      <title>Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102665#M895294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why my week is not working Properly, Up to Year end should show week 52/53 and then should be start the week from 1 Again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3545" target="_blank"&gt;Redefining the Week Numbers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102665#M895294</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102666#M895295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is a definition which week have to be week 1 (see Wikipedia).&lt;/P&gt;&lt;P&gt;so it may be that some of the Dates of end of december are already in week 1&lt;/P&gt;&lt;P&gt;sometimes the first Dates of a year can be week 52/53!&lt;/P&gt;&lt;P&gt;if you Need a different calendar you may e.g. create virtual week 53v if your business requries it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102666#M895295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-01T13:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102667#M895296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rudolf, Thanks for your Suggestion. Did you get a chance to look to see that URL?&lt;/P&gt;&lt;P&gt;Please find my image, In that how HIC is calculating for Broken Weeks Possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table 6x4.png" class="jive-image image-1" src="/legacyfs/online/133182_Table 6x4.png" style="height: 123px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102667#M895296</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-01T13:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102668#M895297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I donot understand? what is HIC?&lt;/P&gt;&lt;P&gt;If you want a calendar like "broken weeks possible" you Need to create your own mastercalendar with a column week and create your own week&lt;/P&gt;&lt;P&gt;e.g. if (week(yourdate)=1 AND month(yourdate='dec'), 53, week(yourdate)) as weekbroken&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my customer expects exactly this behaviour and I realized it this way with virtual weeks (some years have real week 53, so no virtual week needed)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102668#M895297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-01T13:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102669#M895298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HIC Means -- &lt;/P&gt;&lt;H1 class="n fn font-color-white" style="padding-bottom: 15px; font-weight: normal; font-size: 21px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ffffff; background-color: #404040;"&gt;Henric Cronström&lt;/H1&gt;&lt;P&gt;Which i share the Link, He only created that..&lt;/P&gt;&lt;P&gt;Can you please help on my Calendar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102669#M895298</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-01T13:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102670#M895299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add to to your mastercalendar (my enhancement):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;yourdate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DAY(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;yourdate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt; 20, // test for week 1 in december&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 53, &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; // force virtual week 53&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; week(yourdate) as week&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;all other fields (month, year, day) can remain in your ,mastercalender&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;only week Need to be adjusted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102670#M895299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-01T13:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102671#M895300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this, My master calendar looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD TempDate AS "MainDate",&lt;/P&gt;&lt;P&gt; week(TempDate) AS Week,&lt;/P&gt;&lt;P&gt; year(TempDate) AS Year,&lt;/P&gt;&lt;P&gt;Day(TempDate) AS Day,&lt;/P&gt;&lt;P&gt; month(TempDate) AS Month,&lt;/P&gt;&lt;P&gt;weekday(TempDate) AS WeekDay,&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;drop table TempCalendar;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Please tell me where i need to Add that?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102671#M895300</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-01T13:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102672#M895301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD TempDate AS "MainDate",&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;month(TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='Dec', //&amp;nbsp; test for week 1 in december&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 53, &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; // force virtual week 53&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; week(TempDate) as Week&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; year(TempDate) AS Year,&lt;/P&gt;&lt;P&gt;Day(TempDate) AS Day,&lt;/P&gt;&lt;P&gt; month(TempDate) AS Month,&lt;/P&gt;&lt;P&gt;weekday(TempDate) AS WeekDay,&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;drop table TempCalendar;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 14:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102672#M895301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-01T14:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102673#M895302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i use that &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)=1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;month(TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)='Dec' -- How to Close If {Bracket} here. Getting error&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 14:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102673#M895302</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-01T14:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102674#M895303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could not test Expression, but ending bracket was missing before as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD TempDate AS "MainDate",&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;month(TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='Dec', //&amp;nbsp; test for week 1 in december&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 53, &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; // force virtual week 53&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; week(TempDate)) as Week&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; year(TempDate) AS Year,&lt;/P&gt;&lt;P&gt;Day(TempDate) AS Day,&lt;/P&gt;&lt;P&gt; month(TempDate) AS Month,&lt;/P&gt;&lt;P&gt;weekday(TempDate) AS WeekDay,&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;drop table TempCalendar;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 15:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102674#M895303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-01T15:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102675#M895304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't get any difference? Can you please have a look which you shared before and Recent, Please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 15:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102675#M895304</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-01T15:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102676#M895305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;canyou provide only script with your mastercalender?&lt;/P&gt;&lt;P&gt;I will then check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 15:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102676#M895305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-01T15:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102677#M895306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already attached with qvw. Anyway, Please find the Script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 15:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102677#M895306</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-01T15:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102678#M895307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried with your script. for 12/29/2014 I get a 53 instead of 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;varMinDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 40909;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&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;varMaxDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 42735;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//LET varMinDate = Num(Peek('MinDate', 0, 'TEMP'));&lt;BR /&gt; //LET varMaxDate = Num(Peek('MaxDate' , 0, 'TEMP'));&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;LET&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;vToday&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;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;());&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//drop Table TEMP;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; TempCalendar:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(varMinDate)&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;IterNo&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;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(varMinDate)&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;IterNo&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;AUTOGENERATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WHILE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(varMinDate)&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;IterNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()-1&amp;lt;= &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(varMaxDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; MasterCalendar:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&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;/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;"MainDate"&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;num&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;/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;SummaryDate&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;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;week&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;)=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&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: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='Dec', 53, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;week&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;/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;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// week(TempDate) AS Week,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&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: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &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;Year&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: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &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;Month&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: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MM') &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;MonthNum&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;day&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;/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;Day&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;day&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;)-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;PreviousDay&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;weekday&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;/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;WeekDay&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; 'Q' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&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: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/3) &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;Quarter&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: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), '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;MonthYear&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;week&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;)&amp;amp;'-'&amp;amp;&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: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &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;WeekYear&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;Year2Date&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;, 0, 1, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vToday)&lt;/EM&gt;&lt;/STRONG&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;CurYTDFlag&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;Year2Date&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;,-1, 1, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vToday)&lt;/EM&gt;&lt;/STRONG&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;LastYTDFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&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;temp&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;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TempCalendar; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 15:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102678#M895307</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-01T15:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102679#M895308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Correct. I am looking this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, Here i want to start week from Monday. See for 1st week till sat is there, But, i want to move 2nd Week Sunday to 1st week and then 2nd Week Should start from Monday Onwords.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Apologize my English&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="133194" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133194_Capture.PNG" style="height: 129px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Updated: Expecting - Every week starting from Monday&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="toccolours" style="font-size: 13.3px; border: 1px solid #aaaaaa; padding: 5px; color: #252525; font-family: sans-serif; margin-left: 1em; text-align: center; background-color: #f9f9f9;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH width="10%"&gt;&lt;SPAN class="selflink" style="font-weight: bold;"&gt;Week&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH title="Monday" width="10%"&gt;Mon&lt;/TH&gt;&lt;TH title="Tuesday" width="10%"&gt;Tue&lt;/TH&gt;&lt;TH title="Wednesday" width="10%"&gt;Wed&lt;/TH&gt;&lt;TH title="Thursday" width="10%"&gt;Thu&lt;/TH&gt;&lt;TH title="Friday" width="10%"&gt;Fri&lt;/TH&gt;&lt;TH title="Saturday" width="10%"&gt;Sat&lt;/TH&gt;&lt;TH title="Sunday" width="10%"&gt;Sun&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH scope="row" title="days in calendar week number 26"&gt;W26&lt;/TH&gt;&lt;TD title="2016-06-27 ≔ 2016-W26-1"&gt;27&lt;/TD&gt;&lt;TD title="2016-06-28 ≔ 2016-W26-2"&gt;28&lt;/TD&gt;&lt;TD title="2016-06-29 ≔ 2016-W26-3"&gt;29&lt;/TD&gt;&lt;TD title="2016-06-30 ≔ 2016-W26-4"&gt;30&lt;/TD&gt;&lt;TD title="2016-07-01 ≔ 2016-W26-5"&gt;01&lt;/TD&gt;&lt;TD title="2016-07-02 ≔ 2016-W26-6"&gt;02&lt;/TD&gt;&lt;TD title="2016-07-03 ≔ 2016-W26-7"&gt;03&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH scope="row" title="days in calendar week number 27"&gt;W27&lt;/TH&gt;&lt;TD title="2016-07-04 ≔ 2016-W27-1"&gt;04&lt;/TD&gt;&lt;TD title="2016-07-05 ≔ 2016-W27-2"&gt;05&lt;/TD&gt;&lt;TD title="2016-07-06 ≔ 2016-W27-3"&gt;06&lt;/TD&gt;&lt;TD title="2016-07-07 ≔ 2016-W27-4"&gt;07&lt;/TD&gt;&lt;TD title="2016-07-08 ≔ 2016-W27-5"&gt;08&lt;/TD&gt;&lt;TD title="2016-07-09 ≔ 2016-W27-6"&gt;09&lt;/TD&gt;&lt;TD title="2016-07-10 ≔ 2016-W27-7"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH scope="row" title="days in calendar week number 28"&gt;W28&lt;/TH&gt;&lt;TD title="2016-07-11 ≔ 2016-W28-1"&gt;11&lt;/TD&gt;&lt;TD title="2016-07-12 ≔ 2016-W28-2"&gt;12&lt;/TD&gt;&lt;TD title="2016-07-13 ≔ 2016-W28-3"&gt;13&lt;/TD&gt;&lt;TD title="2016-07-14 ≔ 2016-W28-4"&gt;14&lt;/TD&gt;&lt;TD title="2016-07-15 ≔ 2016-W28-5"&gt;15&lt;/TD&gt;&lt;TD title="2016-07-16 ≔ 2016-W28-6"&gt;16&lt;/TD&gt;&lt;TD title="2016-07-17 ≔ 2016-W28-7"&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH scope="row" title="days in calendar week number 29"&gt;W29&lt;/TH&gt;&lt;TD title="2016-07-18 ≔ 2016-W29-1"&gt;18&lt;/TD&gt;&lt;TD title="2016-07-19 ≔ 2016-W29-2"&gt;19&lt;/TD&gt;&lt;TD title="2016-07-20 ≔ 2016-W29-3"&gt;20&lt;/TD&gt;&lt;TD title="2016-07-21 ≔ 2016-W29-4"&gt;21&lt;/TD&gt;&lt;TD title="2016-07-22 ≔ 2016-W29-5"&gt;22&lt;/TD&gt;&lt;TD title="2016-07-23 ≔ 2016-W29-6"&gt;23&lt;/TD&gt;&lt;TD title="2016-07-24 ≔ 2016-W29-7"&gt;24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH scope="row" title="days in calendar week number 30"&gt;W30&lt;/TH&gt;&lt;TD title="2016-07-25 ≔ 2016-W30-1"&gt;25&lt;/TD&gt;&lt;TD title="2016-07-26 ≔ 2016-W30-2"&gt;26&lt;/TD&gt;&lt;TD title="2016-07-27 ≔ 2016-W30-3"&gt;27&lt;/TD&gt;&lt;TD title="2016-07-28 ≔ 2016-W30-4"&gt;28&lt;/TD&gt;&lt;TD style="background-color: gold;" title="2016-07-29 ≔ 2016-W30-5"&gt;29&lt;/TD&gt;&lt;TD title="2016-07-30 ≔ 2016-W30-6"&gt;30&lt;/TD&gt;&lt;TD title="2016-07-31 ≔ 2016-W30-7"&gt;31&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 16:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102679#M895308</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-01T16:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102680#M895309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;normal week start on sunday. if you Need that sunday belongs to previous week you Need to adjust the week&lt;/P&gt;&lt;P&gt;if (weekday(TempDate)='Su', week(TempDate)-1, week(TempDate)) as Week&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 07:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102680#M895309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-02T07:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102681#M895310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, as per our adjust it will go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Reference, Please find image&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133272_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Here, i want to show 27, 28, 29, 30, 31 for 53 weeks Because Upto December 2015 the weeks are finished. So, here after that I want to show 1, 2, 3 dates for 1st week in 2016 and 4-10 should be 2nd week, Like that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you so much for your Response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 07:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102681#M895310</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-02T07:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Redefining the Week Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102682#M895311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rudolf, I got it. Thanks for your Help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I's working with this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vCal_FD = 0; // First Day of the week {0=Mon, 1=Tue, ... , 6=Sun}&lt;/P&gt;&lt;P&gt;Let vCal_BW = 0; // Broken Weeks allowed {0=No, 1=Yes}&lt;/P&gt;&lt;P&gt;Let vCal_RD = 1; // Reference day = This day in Jan defines week one {1..7}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;TempDate &lt;/SPAN&gt;&amp;lt; WeekRefDate and WeekNumber=0 and year(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;TempDate&lt;/SPAN&gt;)&amp;lt;WeekYear,53,WeekNumber+1) as Actual_WeekNumber;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Div( &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;TempDate &lt;/SPAN&gt;- WeekStart( WeekYearRefDate, 1, $(vCal_FD) ) + 7, 7 ) as WeekNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year( WeekYearRefDate ) as WeekYear;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date( YearStart( If( $(vCal_BW), &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;TempDate&lt;/SPAN&gt;, WeekRefDate )) + $(vCal_RD) - 1) as WeekYearRefDate ;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date( WeekStart( &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;TempDate &lt;/SPAN&gt;, 1, $(vCal_FD) ) - $(vCal_RD) ) as WeekRefDate ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="133345" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133345_Capture.PNG" style="height: 104px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 15:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Redefining-the-Week-Numbers/m-p/1102682#M895311</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-02T15:45:27Z</dc:date>
    </item>
  </channel>
</rss>

