<?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 select last week through Macro ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-select-last-week-through-Macro/m-p/194403#M55317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;"WORK_WEEK"). &lt;B&gt;Select&lt;/B&gt; ActiveDocument.Evaluate("LastWeek" &lt;P&gt;)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Sep 2010 09:36:51 GMT</pubDate>
    <dc:creator>suniljain</dc:creator>
    <dc:date>2010-09-09T09:36:51Z</dc:date>
    <item>
      <title>How to select last week through Macro ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-last-week-through-Macro/m-p/194401#M55315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose my current week is 36 . I want to select last week through macro.&lt;/P&gt;&lt;P&gt;week field is WORK_WEEK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 07:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-last-week-through-Macro/m-p/194401#M55315</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-09-09T07:52:15Z</dc:date>
    </item>
    <item>
      <title>How to select last week through Macro ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-last-week-through-Macro/m-p/194402#M55316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;if you wanna select current week first you must create a variable CurrentWeek (you can name it whatever you want): =week(Now()) . And the macro will be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub SelectWeek&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("CurrentWeek")&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("WORK_WEEK").Select v.GetContent.String&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 08:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-last-week-through-Macro/m-p/194402#M55316</guid>
      <dc:creator />
      <dc:date>2010-09-09T08:53:21Z</dc:date>
    </item>
    <item>
      <title>How to select last week through Macro ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-last-week-through-Macro/m-p/194403#M55317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;"WORK_WEEK"). &lt;B&gt;Select&lt;/B&gt; ActiveDocument.Evaluate("LastWeek" &lt;P&gt;)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 09:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-last-week-through-Macro/m-p/194403#M55317</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-09-09T09:36:51Z</dc:date>
    </item>
    <item>
      <title>How to select last week through Macro ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-last-week-through-Macro/m-p/194404#M55318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would prefer Trigger for the same. Its good to avoid macro !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 09:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-last-week-through-Macro/m-p/194404#M55318</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2010-09-09T09:42:55Z</dc:date>
    </item>
  </channel>
</rss>

