<?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 selection of values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152917#M30165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are correct Actions where added to v9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2010 13:56:10 GMT</pubDate>
    <dc:creator>lblancher</dc:creator>
    <dc:date>2010-02-22T13:56:10Z</dc:date>
    <item>
      <title>Macro selection of values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152912#M30160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sure this question must have been asked before but I cant seem to find an answer. I would like to create a macro that selects all values in a field that are less than the value in an input box. I have created an input box for the user to enter the final day in period and this value then feeds in to a caculated dimension so that the user can see invoice aging as of a specific point in time. I would like to be able to add a macro button that can also select only dates that are less than the value entered in the input box. I have seen many macros where a single value can be selected and a few more that show how to toggle values inside a for next loop but I havent seen anyone using a less than or more than statement in a macro. Is it possible?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 11:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152912#M30160</guid>
      <dc:creator />
      <dc:date>2010-02-19T11:53:12Z</dc:date>
    </item>
    <item>
      <title>Macro selection of values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152913#M30161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to accomplish this by using actions instead oi macro's. Create a button and add a "selection-&amp;gt;select in field" action . This allows you to use the advanced search syntax, where you can use "&amp;gt;" or "&amp;lt;" operators.&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 15:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152913#M30161</guid>
      <dc:creator>lblancher</dc:creator>
      <dc:date>2010-02-19T15:30:35Z</dc:date>
    </item>
    <item>
      <title>Macro selection of values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152914#M30162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax in a macro is similar to what you would use in an Action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub Selector&lt;BR /&gt; inputVal = ActiveDocument.Variables("vVar").GetContent.String&lt;BR /&gt; ActiveDocument.Fields("FIELD").Select "&amp;lt;" &amp;amp; inputVal&lt;BR /&gt;End Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;For an Input Box with vVar as the variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 16:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152914#M30162</guid>
      <dc:creator />
      <dc:date>2010-02-19T16:06:22Z</dc:date>
    </item>
    <item>
      <title>Macro selection of values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152915#M30163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As simple as that! Thanks NMillar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 11:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152915#M30163</guid>
      <dc:creator />
      <dc:date>2010-02-22T11:50:03Z</dc:date>
    </item>
    <item>
      <title>Macro selection of values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152916#M30164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldnt find how to add the action to a button, Lucas. Is this new in v9? We are still at 8.5 at the moment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 11:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152916#M30164</guid>
      <dc:creator />
      <dc:date>2010-02-22T11:50:54Z</dc:date>
    </item>
    <item>
      <title>Macro selection of values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152917#M30165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are correct Actions where added to v9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 13:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152917#M30165</guid>
      <dc:creator>lblancher</dc:creator>
      <dc:date>2010-02-22T13:56:10Z</dc:date>
    </item>
    <item>
      <title>Macro selection of values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152918#M30166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what if the field content is not a number, is string,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.E this can ve a sample of the values:&lt;/P&gt;&lt;P&gt;FIELDnamex&lt;BR /&gt;R2968&lt;BR /&gt;R2968, R3266, R2344, R35425, R2337, R3553&lt;BR /&gt;R3023, R3203&lt;BR /&gt;R3084, D19516, D19349, D19442, D19430, D18967, D19523&lt;BR /&gt;R3098&lt;BR /&gt;R3179&lt;BR /&gt;R3221&lt;/P&gt;&lt;P&gt;and you want to search values with 2337 and 3098 or 2968&lt;/P&gt;&lt;P&gt;How the macro will look?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 18:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152918#M30166</guid>
      <dc:creator>hectorgarcia</dc:creator>
      <dc:date>2010-05-05T18:57:40Z</dc:date>
    </item>
    <item>
      <title>Macro selection of values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152919#M30167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, you need to get your search criteria into a variable. If vTest = 2337, then you can use:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub Test&lt;BR /&gt; val = ActiveDocument.Variables("vTest").GetContent.String&lt;BR /&gt; ActiveDocument.Fields("FIELDNAME").Select "*" &amp;amp; val &amp;amp; "*", true&lt;BR /&gt;End Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Using wildcards on both sides of the value will look for the search criteria contained anywhere in the value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 21:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-selection-of-values/m-p/152919#M30167</guid>
      <dc:creator />
      <dc:date>2010-05-05T21:13:39Z</dc:date>
    </item>
  </channel>
</rss>

