<?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 Macro to Actions Issue (Last 12 Months select ) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236840#M502382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=(date(Today(),'YYYY')&amp;amp;&lt;B&gt;&lt;I&gt;MaandMin1&lt;/I&gt;&lt;/B&gt;-1)&lt;BR /&gt;&lt;BR /&gt;This one works, but i want the past 12 months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Feb 2011 16:39:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-07T16:39:01Z</dc:date>
    <item>
      <title>Macro to Actions Issue (Last 12 Months select )</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236835#M502377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are in process of migrating QV report from Version 8.2 to 9. When we move report to version 9, we want to eliminate macros as much as possible. So far I am able to produce desired behavior using "Actions" and removing macros. However I am having trouble in converting following macro to actions in version 9.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;sub Lock&lt;/B&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;set y=ActiveDocument.GetField("Date")&lt;/B&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;y.TOPSelect "Date",12&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;end sub&lt;/B&gt;&lt;/P&gt;&lt;P&gt;How do I make sure search string always selects last 12 months?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 21:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236835#M502377</guid>
      <dc:creator />
      <dc:date>2010-07-28T21:49:09Z</dc:date>
    </item>
    <item>
      <title>Macro to Actions Issue (Last 12 Months select )</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236836#M502378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an example using Actions instead of a macro to select the last 12 months from a YearMonth field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 05:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236836#M502378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-29T05:22:16Z</dc:date>
    </item>
    <item>
      <title>Macro to Actions Issue (Last 12 Months select )</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236837#M502379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; text-align: left; vertical-align: top"&gt;How do I select the last twelve months.&lt;BR /&gt;&lt;BR /&gt;My formula is:&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; text-align: left; vertical-align: top"&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left"&gt;='&amp;gt;' &amp;amp; date(addmonths((date(Today(),'YYYY')&amp;amp;&lt;B&gt;&lt;I&gt;MaandMin1&lt;/I&gt;&lt;/B&gt;-1),-12), 'YYYYMM')&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; text-align: left; vertical-align: top"&gt;&lt;BR /&gt;He selects the last month when I use the formula&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; text-align: left; vertical-align: top"&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: left"&gt;=(date(Today(),'YYYY')&amp;amp;&lt;B&gt;&lt;I&gt;MaandMin1&lt;/I&gt;&lt;/B&gt;-1)&lt;BR /&gt;&lt;BR /&gt;But he was nothing when I select the entire formula&lt;BR /&gt;&lt;BR /&gt;Who can help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 16:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236837#M502379</guid>
      <dc:creator />
      <dc:date>2011-02-07T16:14:56Z</dc:date>
    </item>
    <item>
      <title>Macro to Actions Issue (Last 12 Months select )</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236838#M502380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am using following formula and it is working fine for me. Can you try it ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= '&amp;gt;' &amp;amp; MonthStart((Today()),-12)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 16:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236838#M502380</guid>
      <dc:creator />
      <dc:date>2011-02-07T16:26:06Z</dc:date>
    </item>
    <item>
      <title>Macro to Actions Issue (Last 12 Months select )</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236839#M502381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;don't work by me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 16:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236839#M502381</guid>
      <dc:creator />
      <dc:date>2011-02-07T16:37:01Z</dc:date>
    </item>
    <item>
      <title>Macro to Actions Issue (Last 12 Months select )</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236840#M502382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=(date(Today(),'YYYY')&amp;amp;&lt;B&gt;&lt;I&gt;MaandMin1&lt;/I&gt;&lt;/B&gt;-1)&lt;BR /&gt;&lt;BR /&gt;This one works, but i want the past 12 months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 16:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-Actions-Issue-Last-12-Months-select/m-p/236840#M502382</guid>
      <dc:creator />
      <dc:date>2011-02-07T16:39:01Z</dc:date>
    </item>
  </channel>
</rss>

