<?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 The Week Function. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217472#M70667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe QlikView uses ISO standard for week numbering (see &lt;A&gt;http://en.wikipedia.org/wiki/Seven-day_week#Week_numbering&lt;/A&gt;). Hence the first or last week may spread into two years.&lt;BR /&gt;Use "weekyear" function to find year number that corresponds to a week number.&lt;BR /&gt;For best clarity I always use year and week number joint together, like this:&lt;/P&gt;&lt;P&gt;weekyear(Date) &amp;amp; '_' &amp;amp; text(num(week(Date),'00')) as Year_Week&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Apr 2010 14:44:28 GMT</pubDate>
    <dc:creator>tanelry</dc:creator>
    <dc:date>2010-04-20T14:44:28Z</dc:date>
    <item>
      <title>The Week Function.</title>
      <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217465#M70660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please find attached an example where i have used the week function. Here it associates the 1st of January 2010 to the 53rd week.&lt;/P&gt;&lt;P&gt;Any comments why it should be so?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Apr 2010 19:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217465#M70660</guid>
      <dc:creator />
      <dc:date>2010-04-18T19:25:41Z</dc:date>
    </item>
    <item>
      <title>The Week Function.</title>
      <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217466#M70661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had the same issue .. the problem is that the first of januari 2010 was in the last week of 2009. So .. ISO-wise .. this is correct.&lt;/P&gt;&lt;P&gt;the solution is to alter/manipulate the week number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Week (Date) = 53,1,Week (Date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;luckily week 53 doesnt exist in 2010..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Apr 2010 20:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217466#M70661</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-04-18T20:23:16Z</dc:date>
    </item>
    <item>
      <title>The Week Function.</title>
      <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217467#M70662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;btw... ofcourse when adding more years .. add the year before the week&lt;/P&gt;&lt;P&gt;2010-53 --&amp;gt; 2010-01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Apr 2010 20:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217467#M70662</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-04-18T20:24:52Z</dc:date>
    </item>
    <item>
      <title>The Week Function.</title>
      <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217468#M70663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The rules of assigning the weeks are different in different places... I believe, QlikView week belongs to the year in which it begins. Since week 53 begins in the "previous" year, Jan 1 of "this year" will still belong to that week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Apr 2010 20:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217468#M70663</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-04-18T20:25:29Z</dc:date>
    </item>
    <item>
      <title>The Week Function.</title>
      <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217469#M70664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You, Amien &amp;amp; Oleg for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Apr 2010 20:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217469#M70664</guid>
      <dc:creator />
      <dc:date>2010-04-18T20:39:42Z</dc:date>
    </item>
    <item>
      <title>The Week Function.</title>
      <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217470#M70665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;I had also the problem showing the weeks of the first quarter 2010 in a Listbox from left to right.&lt;BR /&gt;I solved it by sorting not mumeric but by "Lade-Reihenfolge" (german -&amp;gt; means something like "by loading sequence", last checkbox - see properties.)&lt;BR /&gt;Perhaps it helps too.&lt;/P&gt;&lt;P&gt;Greetings dj_skbs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 08:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217470#M70665</guid>
      <dc:creator />
      <dc:date>2010-04-19T08:58:29Z</dc:date>
    </item>
    <item>
      <title>The Week Function.</title>
      <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217471#M70666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DJ,&lt;/P&gt;&lt;P&gt;Thank you for your reply, but in my case it was a SIB with two months data and the week list box showed Week 1 to 8 and then 53 !!!!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 13:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217471#M70666</guid>
      <dc:creator />
      <dc:date>2010-04-20T13:09:21Z</dc:date>
    </item>
    <item>
      <title>The Week Function.</title>
      <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217472#M70667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe QlikView uses ISO standard for week numbering (see &lt;A&gt;http://en.wikipedia.org/wiki/Seven-day_week#Week_numbering&lt;/A&gt;). Hence the first or last week may spread into two years.&lt;BR /&gt;Use "weekyear" function to find year number that corresponds to a week number.&lt;BR /&gt;For best clarity I always use year and week number joint together, like this:&lt;/P&gt;&lt;P&gt;weekyear(Date) &amp;amp; '_' &amp;amp; text(num(week(Date),'00')) as Year_Week&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 14:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217472#M70667</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2010-04-20T14:44:28Z</dc:date>
    </item>
    <item>
      <title>The Week Function.</title>
      <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217473#M70668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, QlikView uses the ISO standard. There are other standards. If you want a complete solution, you're going to have to tell us what YOUR standard is. In any case, attached are sample formulas and demonstrated results for some of the standards that I've run across.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 00:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217473#M70668</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-21T00:51:16Z</dc:date>
    </item>
    <item>
      <title>The Week Function.</title>
      <link>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217474#M70669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John &amp;amp; Tanelry,&lt;/P&gt;&lt;P&gt;Thank you for your reply. Thanks for the example John, its very helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 06:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-Week-Function/m-p/217474#M70669</guid>
      <dc:creator />
      <dc:date>2010-04-23T06:17:13Z</dc:date>
    </item>
  </channel>
</rss>

