<?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 Re: Set Analysis with Aggregate - Escape Filters in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392888#M32128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change your variable to this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;DeliveryStatus={'D','O'}&amp;gt;} LeadId)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2017 19:51:58 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-12-12T19:51:58Z</dc:date>
    <item>
      <title>Set Analysis with Aggregate - Escape Filters</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392887#M32127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(TOTAL DISTINCT {$&amp;lt;Affiliate={"=$(vDeliveredCount)&amp;gt;=250"}&amp;gt;} Affiliate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The vDeliveredCount variable referenced evaluates to this: Count({$&amp;lt;DeliveryStatus={'D','O'}&amp;gt;} LeadId)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, the idea here is to count Affiliates that have at least 250 delivered transactions.&amp;nbsp; This seems to be working as expected.&amp;nbsp; However, I need this count to be calculated the same no matter what filters have been set by the user.&amp;nbsp; Selecting one Affiliate in my table always reduces this count to 1.&amp;nbsp; I have tried both of the following in an attempt to escape the Affiliate filter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Count(TOTAL DISTINCT {$&amp;lt;Affiliate=, Affiliate={"=$(vDeliveredCount)&amp;gt;=250"}&amp;gt;} Affiliate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Count(TOTAL DISTINCT {$&amp;lt;Affiliate={"=$(vDeliveredCount)&amp;gt;=250"}, Affiliate=&amp;gt;} Affiliate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Neither seem to generate the required result.&amp;nbsp; It seems like the second instance of the Affiliate set analysis simply replaces the first rather than both being evaluated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is there some syntax I can use to achieve the desired outcome?&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 19:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392887#M32127</guid>
      <dc:creator>flottmen</dc:creator>
      <dc:date>2017-12-12T19:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Aggregate - Escape Filters</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392888#M32128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change your variable to this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;DeliveryStatus={'D','O'}&amp;gt;} LeadId)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 19:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392888#M32128</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-12T19:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Aggregate - Escape Filters</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392889#M32129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;DeliveryStatus={'D','O'}&lt;SPAN style="color: #ff0000;"&gt;, Affiliate&lt;/SPAN&gt;&amp;gt;} LeadId)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 19:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392889#M32129</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-12T19:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Aggregate - Escape Filters</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392890#M32130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it.&amp;nbsp; Totally forgot to escape the filter in the count.&amp;nbsp; Thanks, Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 20:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392890#M32130</guid>
      <dc:creator>flottmen</dc:creator>
      <dc:date>2017-12-12T20:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Aggregate - Escape Filters</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392891#M32131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 20:08:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Aggregate-Escape-Filters/m-p/1392891#M32131</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-12T20:08:49Z</dc:date>
    </item>
  </channel>
</rss>

