<?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 ----------------- in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450324#M168016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-----------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2013 12:32:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-18T12:32:52Z</dc:date>
    <item>
      <title>-----------------</title>
      <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450324#M168016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-----------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 12:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450324#M168016</guid>
      <dc:creator />
      <dc:date>2013-03-18T12:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: how does QV calculates the week</title>
      <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450325#M168017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;12/30 is week 52 (year 2012)&lt;/P&gt;&lt;P&gt;12/31 is week 1 (year 2012)&lt;/P&gt;&lt;P&gt;1/1 is week 1 (year 2013)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far everything is OK. If you ant to make a year-week field, like 2012w52, you get into trouble. In this case you must make sure that 12/31 gets into the next year, i.e. it goes into week 2012w01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this "easily" by checking the day and week number to determine if the date belongs to a week in the next year or last year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 12:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450325#M168017</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2013-03-18T12:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: how does QV calculates the week</title>
      <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450326#M168018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Good question,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try using week&amp;nbsp; function in your date coloumn you will get the answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; like for example you have two dates say 31-12-2012 and 1-1-2013 then if you will apply week&amp;nbsp; function&lt;/P&gt;&lt;P&gt;it will show&amp;nbsp; week 1 in&amp;nbsp; 2013 year which is correct as 31 dec and 1 jan was Mon and Tue of the week and therefore&lt;/P&gt;&lt;P&gt;it will show 31-12-2012 and 1 jan in week 1 and dates below 31-12-2012 in 52 week .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;anant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 13:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450326#M168018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-18T13:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: how does QV calculates the week</title>
      <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450327#M168019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView uses ISO 8601 to calculate week number (See &lt;A class="loading" href="http://en.wikipedia.org/wiki/ISO_week_date" title="http://en.wikipedia.org/wiki/ISO_week_date"&gt;http://en.wikipedia.org/wiki/ISO_week_date&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that the week starts on a Monday, and that week 1 is &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the week with the year's first Thursday in it (the ISO 8601 definition)&lt;/LI&gt;&lt;LI&gt;the week with the Thursday in the period 1 – 7 January&lt;/LI&gt;&lt;LI&gt;the week starting with the Monday in the period 29 December – 4 January&lt;/LI&gt;&lt;LI&gt;the week starting with the Monday which is nearest in time to 1 January&lt;/LI&gt;&lt;LI&gt;the week ending with the Sunday in the period 4 – 10 January&lt;/LI&gt;&lt;LI&gt;the week with 4 January in it&lt;/LI&gt;&lt;LI&gt;the first week with the majority (four or more) of its days in the starting year&lt;/LI&gt;&lt;LI&gt;If 1 January is on a Monday, Tuesday, Wednesday or Thursday, it is in week 01. If 1 January is on a Friday, Saturday or Sunday, it is part of week 52 or 53 of the previous year.&lt;/LI&gt;&lt;LI&gt;the week with the year's first working day in it (if Saturdays, Sundays, and 1 January are not working days).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 13:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450327#M168019</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-03-18T13:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: how does QV calculates the week</title>
      <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450328#M168020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to get rid of the syntetic table to get it to work. There's seems to be something fishy in the links between the calendar and your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have managed to somehow duplicate the date throught the syntetic keys. Creating a Table box with Link_Date, YearPeriod2 and Week shows up like this:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="231"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="103"&gt;%Link_Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="82"&gt;YearPeriod2&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="46"&gt;Week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/01/2011&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;201101&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;52&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/01/2011&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/02/2011&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;201101&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;52&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/02/2011&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/03/2011&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;201101&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/03/2011&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/04/2011&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;201101&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/04/2011&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/05/2011&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;201101&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/05/2011&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; Your sales is linked to the "rows" with no YearPeriod and no Weeks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 13:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450328#M168020</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2013-03-18T13:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: how does QV calculates the week</title>
      <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450329#M168021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Btw. you cannot mix months and weeks in a chart because these are two different date hierarchies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 13:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450329#M168021</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-03-18T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: how does QV calculates the week</title>
      <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450330#M168022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just ran into this issue as well. (2012.12.31 was hitting me..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution was/is the function weekyear(date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the explanation from the help:&lt;/P&gt;&lt;P&gt;&amp;lt;quote&amp;gt;&lt;/P&gt;&lt;P&gt;The year to which the week number belongs. The week number ranges between 1 and approximately 52. Some years week #1 starts in December, e.g. December 1997. Other years start with week #53 of previous year, e.g. January 1999. For those few days when the week number belongs to another year, the functions &lt;SPAN class="Bold"&gt;year&lt;/SPAN&gt; and &lt;SPAN class="Bold"&gt;weekyear&lt;/SPAN&gt; will return different values. &lt;/P&gt;&lt;P&gt;&amp;lt;/quote&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I want the format YYYY.WW I used the following, clumsy statement for my weekyear:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;weekyear(D)&amp;amp;'.'&amp;amp;if(len(week(D))=1,'0'&amp;amp;week(D),week(D))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works fine though... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 14:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450330#M168022</guid>
      <dc:creator>struniger</dc:creator>
      <dc:date>2013-05-27T14:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: how does QV calculates the week</title>
      <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450331#M168023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would go for the following instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dual(WeekYear(Date) &amp;amp;'.'&amp;amp; Num(Week(Date),'00'),WeekStart(Date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the same as your expression but the dual puts a numeric value into the field also. Good for comparisons and sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 15:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/450331#M168023</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-05-27T15:16:09Z</dc:date>
    </item>
  </channel>
</rss>

