<?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 creation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277666#M619395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the revert but it did not work.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/154726_Capture2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;And the week should start from thursday and end on friday.&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, 28 Feb 2017 12:13:34 GMT</pubDate>
    <dc:creator>anjali0108</dc:creator>
    <dc:date>2017-02-28T12:13:34Z</dc:date>
    <item>
      <title>Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277661#M619390</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;STRONG style="text-decoration: underline;"&gt;I am using below script to create &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: underline;"&gt;WeekNoAndMonth&lt;/SPAN&gt;:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Common:&lt;BR /&gt;load *,&lt;BR /&gt;MonthName(CommonDate) &amp;amp; '- Week' &amp;amp; ' ' &amp;amp; WeekNumberInMonth as WeekNoAndMonth;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load *,&lt;BR /&gt;if((week(CommonDate) - week(monthstart(CommonDate)) + 1)&amp;lt;1,1,(week(CommonDate) - week(monthstart(CommonDate)) + 1)) as WeekNumberInMonth;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;BR /&gt;MakeDate(CommonYear,CommonMonth,CommonDays) as CommonDate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;BR /&gt;$(AppQvdPath)Common.qvd&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;WeekNoAndMonth is the dimension that I am using at last in the chart.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;Requirement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;I want to add one more field here in script level only that can show me the last 8 weeks as values like &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;MonthName&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;amp; '- Week' &amp;amp; ' ' &amp;amp; WeekNumberInMonth&lt;/SPAN&gt; but the &lt;/STRONG&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;week start is friday and week end is Thursday.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/154687_Capture.JPG" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;but here my weeks formation should be like:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;Jan 2017 - Week 1: 6th to 12th feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;Jan 2017 - Week 2: 13th to 19th feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;Jan 2017 - Week 3: 20th to 26th feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;Jan 2017 - Week 4: 27th to 2nd feb&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;Feb 2017 - Week 1: 3rd to 9th feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;Feb 2017 - Week 2: 10th ro 16th feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;Feb 2017 - Week 3:&amp;nbsp; 17th to 23rd feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; text-decoration: underline;"&gt;Thanks in advance&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 05:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277661#M619390</guid>
      <dc:creator>anjali0108</dc:creator>
      <dc:date>2017-02-28T05:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277662#M619391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you look this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3545"&gt;Redefining the Week Numbers&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 05:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277662#M619391</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-28T05:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277663#M619392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/52595"&gt;Week Start - Sunday instead of Monday&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3527"&gt;Redefining the Week Start&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 05:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277663#M619392</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-02-28T05:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277664#M619393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already redefined the week start in script.&lt;/P&gt;&lt;P&gt;The requirement is I want to create the dimension in the same script that I am using on top to create the last 8 weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the below weeks:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Jan 2017 - Week 1: 6th to 12th feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Jan 2017 - Week 2: 13th to 19th feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Jan 2017 - Week 3: 20th to 26th feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;Jan 2017 - Week 4: 27th to 2nd feb&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Feb 2017 - Week 1: 3rd to 9th feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Feb 2017 - Week 2: 10th ro 16th feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Feb 2017 - Week 3:&amp;nbsp; 17th to 23rd feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;the dimension i have used in my script is creating weeks like:&lt;/STRONG&gt;&lt;/STRONG&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="text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Jan 2017 - Week 1: 6th to 12th feb&lt;/STRONG&gt;&lt;/STRONG&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="text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Jan 2017 - Week 2: 13th to 19th feb&lt;/STRONG&gt;&lt;/STRONG&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="text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Jan 2017 - Week 3: 20th to 26th feb&lt;/STRONG&gt;&lt;/STRONG&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="text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;Jan 2017 - Week 4: 27th to 31st jan&lt;/STRONG&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="text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Feb 2017 - Week 1: 1st to 2nd feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&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="text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Feb 2017 - Week 2: 3rd to 9th feb&lt;/STRONG&gt;&lt;/STRONG&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="text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Feb 2017 - Week 3: 10th ro 16th feb&lt;/STRONG&gt;&lt;/STRONG&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;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;Feb 2017 - Week 4:&amp;nbsp; 17th to 23rd feb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope you understood the requirement.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I need two dimensions to show monthly and weekly&amp;nbsp; reports as there week formations are different.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;please help asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 10:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277664#M619393</guid>
      <dc:creator>anjali0108</dc:creator>
      <dc:date>2017-02-28T10:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277665#M619394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthName(MakeWeekDate(Year(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CommonDate&lt;/SPAN&gt;), week(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CommonDate&lt;/SPAN&gt;))) &amp;amp;'_'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;amp; '- Week' &amp;amp; ' ' &amp;amp; WeekNumberInMonth as WeekNoAndMonth;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 11:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277665#M619394</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-02-28T11:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277666#M619395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the revert but it did not work.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/154726_Capture2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;And the week should start from thursday and end on friday.&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, 28 Feb 2017 12:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277666#M619395</guid>
      <dc:creator>anjali0108</dc:creator>
      <dc:date>2017-02-28T12:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277667#M619396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anjali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even am facing the similar kind of issue &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1218801"&gt;Re: RE:MonthEnd&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 12:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277667#M619396</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2017-02-28T12:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277668#M619397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you share the sample data ...I need to check how your defining the dates and start of the week ,,,,so that I could help you out &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 12:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277668#M619397</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-02-28T12:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277669#M619398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the code that i have shared on ur post .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 12:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277669#M619398</guid>
      <dc:creator>anjali0108</dc:creator>
      <dc:date>2017-02-28T12:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277670#M619399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;raw_data:&lt;/P&gt;&lt;P&gt;LOAD date(@1) as CommonDate,&lt;/P&gt;&lt;P&gt;Week(@1) as WeekNum,&lt;/P&gt;&lt;P&gt;Date(WeekStart(@1)+4) as WeekStartDate,&lt;/P&gt;&lt;P&gt;date(WeekEnd(@1)+4) as WeekEndDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Intervals:&lt;/P&gt;&lt;P&gt;load WeekStartDate, WeekEndDate Resident raw_data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;IntervalMatch(CommonDate) LOAD WeekStartDate, WeekEndDate Resident Intervals;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load WeekStartDate, WeekNum, MonthName(WeekStartDate) as WSMonth Resident raw_data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Agg_table:&lt;/P&gt;&lt;P&gt;load WSMonth, Min(WeekNum) as MSWN resident temp group by (WSMonth) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp2:&lt;/P&gt;&lt;P&gt;load CommonDate, WeekStartDate, WeekNum, WSMonth Resident temp;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load WSMonth, MSWN Resident Agg_table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;load * , MonthName(WeekStartDate) &amp;amp;'-'&amp;amp;(mod(WeekNum,MSWN)+1) as Month_Week&lt;/P&gt;&lt;P&gt;Resident temp2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Table raw_data,Intervals,Agg_table, temp,temp2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="154750" alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/154750_1.PNG" style="height: 320px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 15:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277670#M619399</guid>
      <dc:creator />
      <dc:date>2017-02-28T15:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277671#M619400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravindra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just thinking how will i link this script to the script I have shared as I have to use both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton for replying.I,l try and will post again if this works. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 05:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277671#M619400</guid>
      <dc:creator>anjali0108</dc:creator>
      <dc:date>2017-03-01T05:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Week creation</title>
      <link>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277672#M619401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravindra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Thanks a lot for this script and it is giving me the exact desired results that I want.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my existing application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;I am using a code like this and I want to merge your code with this table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Common:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;MonthName(CommonDate)&amp;nbsp; &amp;amp; '- Week' &amp;amp; ' ' &amp;amp; WeekNumberInMonth as WeekNoAndMonth_MonthlyReports;&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;if((week(CommonDate) - week(monthstart(CommonDate)) + 1)&amp;lt;1,1,(week(CommonDate) - week(monthstart(CommonDate)) + 1)) as WeekNumberInMonth;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;MakeDate(CommonYear,CommonMonth,CommonDays) as CommonDate&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$(AppQvdPath)Common.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;And I want the new week number that you have formed to get linked with the above code.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So i wrote the above code first and then used ur code below that.But when I am reloading the system hangs.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is it becuse of synthetic keys or some other issue is there.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I tried to use qualify * as well but that too dint help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;See the code I tried :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;//creating month names and week names here&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Common:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;MonthName(CommonDate)&amp;nbsp; &amp;amp; '- Week' &amp;amp; ' ' &amp;amp; WeekNumberInMonth as WeekNoAndMonth_MonthlyReports;&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;if((week(CommonDate) - week(monthstart(CommonDate)) + 1)&amp;lt;1,1,(week(CommonDate) - week(monthstart(CommonDate)) + 1)) as WeekNumberInMonth;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;MakeDate(CommonYear,CommonMonth,CommonDays) as CommonDate&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$(AppQvdPath)Common.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;//============================================================================================//&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;qualify *;&lt;/P&gt;&lt;P&gt;CommonTemp:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;CommonDate,&lt;/P&gt;&lt;P&gt;CommonWeeks as WeekNum, &lt;/P&gt;&lt;P&gt;Date(WeekStart(CommonDate)+4) as WeekStartDate, &lt;/P&gt;&lt;P&gt;date(WeekEnd(CommonDate)+4) as WeekEndDate&lt;/P&gt;&lt;P&gt;Resident Common;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Intervals:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load CommonTemp.WeekStartDate, CommonTemp.WeekEndDate Resident CommonTemp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;temp:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IntervalMatch(CommonTemp.CommonDate) LOAD CommonTemp.WeekStartDate, CommonTemp.WeekEndDate&lt;/P&gt;&lt;P&gt;Resident Intervals;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load CommonTemp.WeekStartDate, CommonTemp.WeekNum, MonthName(CommonTemp.WeekStartDate) as WSMonth Resident CommonTemp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Agg_table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load WSMonth, Min(CommonTemp.WeekNum) as MSWN resident temp group by (WSMonth) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;temp2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load CommonTemp.CommonDate, CommonTemp.WeekStartDate, CommonTemp.WeekNum, WSMonth Resident temp;&lt;/P&gt;&lt;P&gt;left join &lt;/P&gt;&lt;P&gt;load WSMonth, MSWN Resident Agg_table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Final:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load CommonTemp.CommonDate , &lt;/P&gt;&lt;P&gt;MonthName(CommonTemp.WeekStartDate) &amp;amp;'-'&amp;amp;(mod(CommonTemp.WeekNum,MSWN)+1) as Month_Week&lt;/P&gt;&lt;P&gt;Resident temp2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;drop Tables CommonTemp,Intervals,Agg_table, temp,temp2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;Please help.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 04:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-creation/m-p/1277672#M619401</guid>
      <dc:creator>anjali0108</dc:creator>
      <dc:date>2017-03-15T04:55:00Z</dc:date>
    </item>
  </channel>
</rss>

