<?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 mis match in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772914#M1037334</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;&lt;/P&gt;&lt;P&gt; I am having a date column with timestamp. And when I am trying to create Week for the chart it is getting mismatched.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE:12/30/2014 8:12:00 PM&lt;/P&gt;&lt;P&gt;When I am trying to create the week with above DATE field ,it shows as 1 week. Any ideas?&lt;/P&gt;&lt;P&gt;When end of Dec how it can be a first week?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jan 2015 11:10:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-12T11:10:37Z</dc:date>
    <item>
      <title>week mis match</title>
      <link>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772914#M1037334</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;&lt;/P&gt;&lt;P&gt; I am having a date column with timestamp. And when I am trying to create Week for the chart it is getting mismatched.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE:12/30/2014 8:12:00 PM&lt;/P&gt;&lt;P&gt;When I am trying to create the week with above DATE field ,it shows as 1 week. Any ideas?&lt;/P&gt;&lt;P&gt;When end of Dec how it can be a first week?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772914#M1037334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-12T11:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: week mis match</title>
      <link>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772915#M1037335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ij&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is correct it should be 1, you may think its should b week 52, but this week overlaps with the first week of January 2015, as in week 52 of 2014 is combined with week 1 of 2015, therefore you will get 1. please check your calendar to verify this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Dlamini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772915#M1037335</guid>
      <dc:creator />
      <dc:date>2015-01-12T11:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: week mis match</title>
      <link>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772916#M1037336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The week numbers are calculated using the &lt;A href="http://en.wikipedia.org/wiki/ISO_8601#Week_dates" title="http://en.wikipedia.org/wiki/ISO_8601#Week_dates"&gt;ISO 8601&lt;/A&gt; standard. The week number for 12/30/2014 is 1. It's correct. If you want to do it differently read this blog post: &lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/01/27/week-numbers" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;Redefining the Week Numbers&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772916#M1037336</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-12T11:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: week mis match</title>
      <link>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772917#M1037337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi IJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;There is a definition made by the International Organization for Standardization (&lt;A class="jive-link-external-small" href="http://en.wikipedia.org/wiki/ISO_8601" rel="nofollow"&gt;&lt;SPAN style="color: #3778c7;"&gt;ISO 8601&lt;/SPAN&gt;&lt;/A&gt;) that QlikView uses to calculate week numbers. It states that&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The week starts on a Monday.&lt;/LI&gt;&lt;LI&gt;A week is always unbroken, i.e. some years week 1 starts already in December, and in other years week 52 or 53 continues into January.&lt;/LI&gt;&lt;LI&gt;Week 1 always contains Jan 4th. Or, differently put: Week 1 always has at least 4 days in January. A third way to say it is: The first Thursday of the year always lies in week 1."&lt;/LI&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dlamini&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772917#M1037337</guid>
      <dc:creator />
      <dc:date>2015-01-12T11:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: week mis match</title>
      <link>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772918#M1037338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the below code in your script if you don't want 2014-12-30 as your 1st week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Dates , Div(Dates-YearStart(Dates,0,1) + WeekDay(YearStart(Dates,0,1)) +7,7) as FiscalWeek&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Dates.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ankita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/week-mis-match/m-p/772918#M1037338</guid>
      <dc:creator>ankitaag</dc:creator>
      <dc:date>2015-01-12T11:47:35Z</dc:date>
    </item>
  </channel>
</rss>

