<?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: Number week 1   01/01/2017 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427108#M429708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the&amp;nbsp; &lt;/SPAN&gt;WeekRefDate&amp;nbsp; &lt;/SPAN&gt;field corresponds to what exactly??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2017 08:51:13 GMT</pubDate>
    <dc:creator>MauriceLudo</dc:creator>
    <dc:date>2017-11-21T08:51:13Z</dc:date>
    <item>
      <title>Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427101#M429701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I come back to you about week number, I would like to know that it is the best solution to always count on 01/01/2017 in the week number 1.&lt;/P&gt;&lt;P&gt;Here is a screenshot&lt;/P&gt;&lt;P&gt;Best regards &lt;/P&gt;&lt;P&gt;Maurice &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 16:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427101#M429701</guid>
      <dc:creator>MauriceLudo</dc:creator>
      <dc:date>2017-11-20T16:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427102#M429702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you want to do ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display week numbers instead of Dates ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 16:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427102#M429702</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2017-11-20T16:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427103#M429703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to calculate the number of week of the year and I would like him to consider the 1st of January always in the week number 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 17:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427103#M429703</guid>
      <dc:creator>MauriceLudo</dc:creator>
      <dc:date>2017-11-20T17:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427104#M429704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share your app ? or sample data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 17:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427104#M429704</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2017-11-20T17:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427105#M429705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the app &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 17:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427105#M429705</guid>
      <dc:creator>MauriceLudo</dc:creator>
      <dc:date>2017-11-20T17:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427106#M429706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Create a table with week and week number using distinct, order by, autonumber and resident load:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;WeekNumber:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Load Distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[WeekNumber Date de création Objet]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;AutoNumber(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[WeekNumber Date de création Objet]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;) as WeekNum&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;RESIDENT Test_PilotageN2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Order&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;By&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Y [WeekNumber Date de création Objet]&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ASC&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 18:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427106#M429706</guid>
      <dc:creator>erjohnso</dc:creator>
      <dc:date>2017-11-20T18:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427107#M429707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer &lt;A href="https://community.qlik.com/qlik-blogpost/3545"&gt;Redefining the Week Numbers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try below 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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 05:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427107#M429707</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-11-21T05:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427108#M429708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the&amp;nbsp; &lt;/SPAN&gt;WeekRefDate&amp;nbsp; &lt;/SPAN&gt;field corresponds to what exactly??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 08:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427108#M429708</guid>
      <dc:creator>MauriceLudo</dc:creator>
      <dc:date>2017-11-21T08:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427109#M429709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not understand why 01/01/2017 is week 48&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 10:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427109#M429709</guid>
      <dc:creator>MauriceLudo</dc:creator>
      <dc:date>2017-11-21T10:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427110#M429710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ceil((TempDate - WeekStart(YearStart(TempDate),0,0)+1)/7) as WeekNumber&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 10:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427110#M429710</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-11-21T10:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Number week 1   01/01/2017</title>
      <link>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427111#M429711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added in calendar but it does not work, I still have 01/01/2017 in week 52&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 11:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-week-1-01-01-2017/m-p/1427111#M429711</guid>
      <dc:creator>MauriceLudo</dc:creator>
      <dc:date>2017-11-21T11:25:12Z</dc:date>
    </item>
  </channel>
</rss>

