<?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 How to create current and last week as a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145203#M505637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, if you want to represent it as the date of week start:&lt;BR /&gt;=weekstart(today())&lt;BR /&gt;=weekstart(today()-7)&lt;BR /&gt;Similar for week end. The possibilities are endless.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2009 19:35:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-05-27T19:35:34Z</dc:date>
    <item>
      <title>How to create current and last week as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145199#M505633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-255_sourceID:255" /&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to create variables like current week and last week but the value of the variable should be calculated. How to do this??&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 18:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145199#M505633</guid>
      <dc:creator />
      <dc:date>2009-05-27T18:55:00Z</dc:date>
    </item>
    <item>
      <title>How to create current and last week as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145200#M505634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthias,&lt;/P&gt;&lt;P&gt;here you go:&lt;/P&gt;&lt;P&gt;vCurWeek: Put this in the Value field =Week(Today())&lt;/P&gt;&lt;P&gt;vLastWeek: =Week(Today())-1&lt;/P&gt;&lt;P&gt;Right?&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 19:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145200#M505634</guid>
      <dc:creator />
      <dc:date>2009-05-27T19:12:00Z</dc:date>
    </item>
    <item>
      <title>How to create current and last week as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145201#M505635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthias,&lt;/P&gt;&lt;P&gt;Agree with Rainer, but if want more a format with the year inside, just use WeekName() instead of Week() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCurWeek : =WeekName(Today())&lt;/P&gt;&lt;P&gt;vLastWeek : =WeekName(Today()-7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 19:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145201#M505635</guid>
      <dc:creator />
      <dc:date>2009-05-27T19:17:10Z</dc:date>
    </item>
    <item>
      <title>How to create current and last week as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145202#M505636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 19:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145202#M505636</guid>
      <dc:creator />
      <dc:date>2009-05-27T19:35:27Z</dc:date>
    </item>
    <item>
      <title>How to create current and last week as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145203#M505637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, if you want to represent it as the date of week start:&lt;BR /&gt;=weekstart(today())&lt;BR /&gt;=weekstart(today()-7)&lt;BR /&gt;Similar for week end. The possibilities are endless.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 19:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-current-and-last-week-as-a-variable/m-p/145203#M505637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-27T19:35:34Z</dc:date>
    </item>
  </channel>
</rss>

