<?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: Week number showing wrong in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Week-number-showing-wrong/m-p/1111750#M917953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are unable to see your data(Field data which you have in Scripts &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;new_order_date&lt;/STRONG&gt;) so please show sample data for that .and check if u select any other month 1st day how is the behavior of that week filter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2016 10:57:33 GMT</pubDate>
    <dc:creator>ramasaisaksoft</dc:creator>
    <dc:date>2016-05-10T10:57:33Z</dc:date>
    <item>
      <title>Week number showing wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Week-number-showing-wrong/m-p/1111749#M917951</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;We have used the below logic to define week ,but it is not showing correct like if we select 2016 May 1st means it should show 1st week of the month but it showing 2nd week as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic Used : &lt;STRONG&gt; if(month(weekend(new_order_date,0,6))= month(new_order_date),div(day(WeekEnd(new_order_date,0,6)),7),div(day(Weekend(new_order_date,-1,6)),7)) as WeekNumber&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current o/p:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124094_Untitled.png" style="height: 399px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks..&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/Week-number-showing-wrong/m-p/1111749#M917951</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Week number showing wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Week-number-showing-wrong/m-p/1111750#M917953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are unable to see your data(Field data which you have in Scripts &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;new_order_date&lt;/STRONG&gt;) so please show sample data for that .and check if u select any other month 1st day how is the behavior of that week filter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 10:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-number-showing-wrong/m-p/1111750#M917953</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2016-05-10T10:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Week number showing wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Week-number-showing-wrong/m-p/1111751#M917954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for response..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have resolve the issue using '&lt;STRONG&gt; 'W'&amp;amp;Ceil(Day(Date)/7) as&amp;nbsp; MonthlyWeek&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 11:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-number-showing-wrong/m-p/1111751#M917954</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-05-10T11:04:00Z</dc:date>
    </item>
  </channel>
</rss>

