<?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: Same week last year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Same-week-last-year/m-p/1337218#M821950</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;Could you try:&lt;/P&gt;&lt;P&gt;LET vWeekStartPrevYear = weekstart(addyears(today(), -1)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LET vWeekEndPrevYear = weekend(addyears(today(), -1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Aug 2017 14:06:16 GMT</pubDate>
    <dc:creator>jmvilaplanap</dc:creator>
    <dc:date>2017-08-02T14:06:16Z</dc:date>
    <item>
      <title>Same week last year</title>
      <link>https://community.qlik.com/t5/QlikView/Same-week-last-year/m-p/1337216#M821948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got two variables in a load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let vWeekStart = WeekStart(today())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let vWeekEnd = WeekEnd(today())&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;&lt;BR /&gt;&lt;/STRONG&gt;What I would like to do is create the same variables for the same week last year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Mel&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/Same-week-last-year/m-p/1337216#M821948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Same week last year</title>
      <link>https://community.qlik.com/t5/QlikView/Same-week-last-year/m-p/1337217#M821949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Week numer can be tricky, first you have to decide what kind of week number you want - to make sure you have everything under control: &lt;A href="https://community.qlik.com/qlik-blogpost/3545"&gt;Redefining the Week Numbers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 14:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-week-last-year/m-p/1337217#M821949</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-08-02T14:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Same week last year</title>
      <link>https://community.qlik.com/t5/QlikView/Same-week-last-year/m-p/1337218#M821950</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;Could you try:&lt;/P&gt;&lt;P&gt;LET vWeekStartPrevYear = weekstart(addyears(today(), -1)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LET vWeekEndPrevYear = weekend(addyears(today(), -1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 14:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-week-last-year/m-p/1337218#M821950</guid>
      <dc:creator>jmvilaplanap</dc:creator>
      <dc:date>2017-08-02T14:06:16Z</dc:date>
    </item>
  </channel>
</rss>

