<?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 Excluded Values in macro bucle in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluded-Values-in-macro-bucle/m-p/176840#M44671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Im trying to make a nested FOR structure in a macro so I can match possible values against excluded values of the field "TestResult", the problem is that I make a selection in "year" and "course" fields and then run the macro ; possible values are working fine but the excluded values are takin every course along the entire years list and I only need the excluded values considering only the year.&lt;/P&gt;&lt;P&gt;So the question is: Is there any way to use "GetExcludedValues" considering certain fields only?&lt;/P&gt;&lt;P&gt;I was also trying to make this via variables but they didnt work in the for structure:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for ind1 = 1 to var1 // value of variable "var1" = count (total&amp;lt;year&amp;gt; {$&amp;lt;year=&amp;gt;} teacher)-CountPossible &amp;lt;----Not working either&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Alfredo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jun 2010 23:10:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-04T23:10:53Z</dc:date>
    <item>
      <title>Excluded Values in macro bucle</title>
      <link>https://community.qlik.com/t5/QlikView/Excluded-Values-in-macro-bucle/m-p/176840#M44671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Im trying to make a nested FOR structure in a macro so I can match possible values against excluded values of the field "TestResult", the problem is that I make a selection in "year" and "course" fields and then run the macro ; possible values are working fine but the excluded values are takin every course along the entire years list and I only need the excluded values considering only the year.&lt;/P&gt;&lt;P&gt;So the question is: Is there any way to use "GetExcludedValues" considering certain fields only?&lt;/P&gt;&lt;P&gt;I was also trying to make this via variables but they didnt work in the for structure:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for ind1 = 1 to var1 // value of variable "var1" = count (total&amp;lt;year&amp;gt; {$&amp;lt;year=&amp;gt;} teacher)-CountPossible &amp;lt;----Not working either&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Alfredo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 23:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluded-Values-in-macro-bucle/m-p/176840#M44671</guid>
      <dc:creator />
      <dc:date>2010-06-04T23:10:53Z</dc:date>
    </item>
  </channel>
</rss>

