<?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 Exclude Selection in expression without Set Analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-Selection-in-expression-without-Set-Analysis/m-p/1610612#M445105</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;So the problem I have is I've got the below statement working as is and I haven't been able to convert it using Set Analysis.&lt;/P&gt;&lt;P&gt;sum(If(GROUP_MONTH = REGISTRATION_MONTH and GROUP_MONTH &amp;gt;= vSixMonthsBack and Type = 'Joiners',&lt;BR /&gt;MEMBERS_JOINING))&lt;/P&gt;&lt;P&gt;variable: vSixMonthsBack = '201902'&lt;/P&gt;&lt;P&gt;I have a field COUNTRY that I basically want to ignore in the above expression. In Set Analysis I would've used {$&amp;lt;COUNTRY=&amp;gt;} .&lt;/P&gt;&lt;P&gt;Any advice on how to change this would be appreciated?&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2019 10:36:13 GMT</pubDate>
    <dc:creator>Sean-CPT</dc:creator>
    <dc:date>2019-08-08T10:36:13Z</dc:date>
    <item>
      <title>Exclude Selection in expression without Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Selection-in-expression-without-Set-Analysis/m-p/1610612#M445105</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;So the problem I have is I've got the below statement working as is and I haven't been able to convert it using Set Analysis.&lt;/P&gt;&lt;P&gt;sum(If(GROUP_MONTH = REGISTRATION_MONTH and GROUP_MONTH &amp;gt;= vSixMonthsBack and Type = 'Joiners',&lt;BR /&gt;MEMBERS_JOINING))&lt;/P&gt;&lt;P&gt;variable: vSixMonthsBack = '201902'&lt;/P&gt;&lt;P&gt;I have a field COUNTRY that I basically want to ignore in the above expression. In Set Analysis I would've used {$&amp;lt;COUNTRY=&amp;gt;} .&lt;/P&gt;&lt;P&gt;Any advice on how to change this would be appreciated?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 10:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Selection-in-expression-without-Set-Analysis/m-p/1610612#M445105</guid>
      <dc:creator>Sean-CPT</dc:creator>
      <dc:date>2019-08-08T10:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Selection in expression without Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Selection-in-expression-without-Set-Analysis/m-p/1610618#M445106</link>
      <description>&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum(&lt;STRONG&gt;{$&amp;lt;COUNTRY=&amp;gt;}&lt;/STRONG&gt;&amp;nbsp; If(GROUP_MONTH = REGISTRATION_MONTH and GROUP_MONTH &amp;gt;= vSixMonthsBack and Type = 'Joiners',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MEMBERS_JOINING))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, if your variable definition has any aggregation function, try to use the same set analysis in that too like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vSixMonthsBack= Max(&amp;nbsp;&lt;STRONG&gt;{$&amp;lt;COUNTRY=&amp;gt;}&amp;nbsp;&lt;/STRONG&gt;DateField.....)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 10:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Selection-in-expression-without-Set-Analysis/m-p/1610618#M445106</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-08-08T10:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Selection in expression without Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Selection-in-expression-without-Set-Analysis/m-p/1610649#M445110</link>
      <description>&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;That worked precisely as I wanted it too, thanks for the help!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 11:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Selection-in-expression-without-Set-Analysis/m-p/1610649#M445110</guid>
      <dc:creator>Sean-CPT</dc:creator>
      <dc:date>2019-08-08T11:48:30Z</dc:date>
    </item>
  </channel>
</rss>

