<?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 from Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11283#M1800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it basically giving the number of weeks before that specified date.&lt;/P&gt;&lt;P&gt;Still not helping. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2018 09:38:16 GMT</pubDate>
    <dc:creator>pooja821</dc:creator>
    <dc:date>2018-04-26T09:38:16Z</dc:date>
    <item>
      <title>Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11277#M1794</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 want to fetch week number from date(date format is DD-MMM-YYYY).&lt;/P&gt;&lt;P&gt;For Eg My date is 02-Oct -2017. Since this date lies in week 2 so i&amp;nbsp; want the output to be 2.&lt;/P&gt;&lt;P&gt;Given condition is that my week start from Monday.&lt;/P&gt;&lt;P&gt;For e.g. on 01-Oct-2017, its Sunday so it would come under week 1 and on from Monday on wards my week number would 2 for that specific week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 07:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11277#M1794</guid>
      <dc:creator>pooja821</dc:creator>
      <dc:date>2018-04-26T07:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11278#M1795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally I wouldn't bother trying and instead create the calendar in an excel file. Then load the dates and the weeks from excel file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 08:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11278#M1795</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-04-26T08:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11279#M1796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would we able to do that.&lt;/P&gt;&lt;P&gt;Its just i want to fetch Week number from date.&lt;/P&gt;&lt;P&gt;I have done it using expression :Ceil((Day(date(date#(Date,'DD-MMM-YYYY'),'DD')))/7) as WeekNumber in load editor, but now the problem i m facing is that i want the first day of week to start with Monday as i explained in my scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 09:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11279#M1796</guid>
      <dc:creator>pooja821</dc:creator>
      <dc:date>2018-04-26T09:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11280#M1797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;why don't you use the parameters ok week function?&amp;nbsp; (see documentation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: Arial-BoldMT;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: CourierNewPS-BoldMT;"&gt;&lt;STRONG&gt;week(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: CourierNewPSMT;"&gt;timestamp [, first_week_day [, broken_weeks [, reference_day]]]&lt;/SPAN&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: CourierNewPS-BoldMT;"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: CourierNewPS-BoldMT;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial-BoldMT;"&gt;&lt;STRONG&gt;Return data type: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="JA" style="font-family: ArialMT; font-size: 10pt;"&gt;&lt;SPAN lang="JA" style="font-family: ArialMT; font-size: 10pt;"&gt;integer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: ArialMT; font-size: 10pt;"&gt;&lt;SPAN lang="JA" style="font-family: ArialMT; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: Arial-BoldMT;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: ArialMT; font-size: 10pt;"&gt;&lt;SPAN lang="JA" style="font-family: ArialMT; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 09:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11280#M1797</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-04-26T09:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11281#M1798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you pls elaborate a little?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 09:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11281#M1798</guid>
      <dc:creator>pooja821</dc:creator>
      <dc:date>2018-04-26T09:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11282#M1799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;say you column is named myDate&lt;/P&gt;&lt;P&gt;if you use the function week(MyDate,0), il will compute the week with monday as first day&lt;/P&gt;&lt;P&gt;have a look at the documentation on this function to see various parameters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 09:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11282#M1799</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-04-26T09:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11283#M1800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it basically giving the number of weeks before that specified date.&lt;/P&gt;&lt;P&gt;Still not helping. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 09:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11283#M1800</guid>
      <dc:creator>pooja821</dc:creator>
      <dc:date>2018-04-26T09:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11284#M1801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it returns the week number of the date in the year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 09:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11284#M1801</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-04-26T09:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11285#M1802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Helvetica, sans-serif; color: #666666;"&gt;Exactly..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Helvetica, sans-serif; color: #666666;"&gt;it returns the week number of the date in the &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;year&lt;/STRONG&gt; but i want week of the date in the &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;month.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 10:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11285#M1802</guid>
      <dc:creator>pooja821</dc:creator>
      <dc:date>2018-04-26T10:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11286#M1803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to calculate the week number of your date minus og the 1st day of the month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 11:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11286#M1803</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-04-26T11:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11287#M1804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the attachment, the script is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(makedate(2018) + rowno() -1) as date&lt;/P&gt;&lt;P&gt;AutoGenerate 365;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; currentweek - firstweek +1 as monthweek&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week(WeekStart(MonthStart(date))) as firstweek,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week(date) as currentweek&lt;/P&gt;&lt;P&gt;Resident t;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table t;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 11:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11287#M1804</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2018-04-26T11:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11288#M1805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want it in qliksense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 12:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11288#M1805</guid>
      <dc:creator>pooja821</dc:creator>
      <dc:date>2018-04-26T12:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11289#M1806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how would we do that. i.e subtracting number from date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 12:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11289#M1806</guid>
      <dc:creator>pooja821</dc:creator>
      <dc:date>2018-04-26T12:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11290#M1807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the script&amp;nbsp; I posted works in QlikView and Qlik Sense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 12:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11290#M1807</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2018-04-26T12:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11291#M1808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HiI Pooja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the script for what you are lookig for.. Before going through the script you need to set the variable value&lt;/P&gt;&lt;P&gt;i.e. SET FirstWeekDay=0; in your main tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Date", ceil(Day(date((Date)))/7) as MonthWiseWeek, Num(WeekDay(Date)) as DayNum, week(Date) as YearWiseWeekNo&lt;/P&gt;&lt;P&gt;FROM [lib://Test/Book1.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;Inner Join&lt;/P&gt;&lt;P&gt;Weeks:&lt;/P&gt;&lt;P&gt;load week(Date) as YearWiseWeekNo, Month(Date) &amp;amp; ' - Week - ' &amp;amp; MonthWiseWeek as [Month-Week] Resident Tab1 where DayNum = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Field MonthWiseWeek;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;1. I'm not sure your data is having all days, for that you just generate all missing days if you miss any. I suggest you to use master calendar&lt;/P&gt;&lt;P&gt;2. Make sure that your 1st Week in Feb starts on 5th as it is monday and Feb 1-4 days fall in Jan's 5th Week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you are looking for something else&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 07:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11291#M1808</guid>
      <dc:creator>d_prashanthredd</dc:creator>
      <dc:date>2018-04-27T07:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11292#M1809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your logic works but its restricted to year 2018 only but i want it to cover all year including 1900 and so on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 08:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11292#M1809</guid>
      <dc:creator>pooja821</dc:creator>
      <dc:date>2018-04-27T08:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11293#M1810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want month wise week number instead of Year wise Week Number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 08:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11293#M1810</guid>
      <dc:creator>pooja821</dc:creator>
      <dc:date>2018-04-27T08:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11294#M1811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a excel which have that column named DOJ.&lt;/P&gt;&lt;P&gt;It contains all the dates &lt;/P&gt;&lt;P&gt;What i want is to calculate the week number of the each date. &lt;/P&gt;&lt;P&gt;for example i have a date 02-Oct-2017, so i want its week number to be 2.&lt;/P&gt;&lt;P&gt;As my week starts with monday so on 01-Oct-2017 i took it as Week 1 so on 02-Oct-2017 its week 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 09:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11294#M1811</guid>
      <dc:creator>pooja821</dc:creator>
      <dc:date>2018-04-27T09:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11295#M1812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Result with data from your excel, using the script below&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200982_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// load data from your excel&lt;/P&gt;&lt;P&gt;t:&lt;/P&gt;&lt;P&gt;LOAD Month, DOJ &lt;/P&gt;&lt;P&gt;FROM book.xlsx &lt;SPAN style="font-size: 10pt;"&gt;(ooxml, embedded labels, table is [New Hires]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// calculate the &lt;STRONG&gt;monthweek&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;u:&lt;/P&gt;&lt;P&gt;load &lt;SPAN style="font-size: 10pt;"&gt;*,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; currentweek - firstweek +1 as &lt;STRONG&gt;monthweek&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOJ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week(WeekStart(MonthStart(DOJ))) as firstweek,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week(DOJ) as currentweek&lt;/P&gt;&lt;P&gt;Resident t;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table t;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 10:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11295#M1812</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2018-04-27T10:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Week Number from Date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11296#M1813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean, a week may contain 1 day as if the date 2nd is of Monday.&lt;/P&gt;&lt;P&gt;Ok.. Will try&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 10:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Number-from-Date/m-p/11296#M1813</guid>
      <dc:creator>d_prashanthredd</dc:creator>
      <dc:date>2018-04-27T10:19:06Z</dc:date>
    </item>
  </channel>
</rss>

