<?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 expression (nested?) help in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-expression-nested-help/m-p/1124975#M19562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in case you're trying this in the script: set analysis cannot be used in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you're trying to use the expression you posted in a chart then try this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;SalesAssociate = {"=Count({&amp;lt;SalesType = {'OutsideSales'}&amp;gt;} SalesId) &amp;gt; 10"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2016 16:18:52 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-08-31T16:18:52Z</dc:date>
    <item>
      <title>Set Analysis expression (nested?) help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-expression-nested-help/m-p/1124974#M19561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need a sum of sales from associates whose SalesType is 'OutsideSales' **AND** if they have more than 10 rows of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;SUM(Sales)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;FROM table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE SalesType = 'OutsideSales'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HAVING COUNT(*) &amp;gt; 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have tried something like this...Not working:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;SalesAssociate = {'$(=Count({&amp;lt;SalesType = {'OutsideSales'}&amp;gt;} SalesId) &amp;gt; 0)'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 15:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-expression-nested-help/m-p/1124974#M19561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-31T15:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis expression (nested?) help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-expression-nested-help/m-p/1124975#M19562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in case you're trying this in the script: set analysis cannot be used in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you're trying to use the expression you posted in a chart then try this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;SalesAssociate = {"=Count({&amp;lt;SalesType = {'OutsideSales'}&amp;gt;} SalesId) &amp;gt; 10"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 16:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-expression-nested-help/m-p/1124975#M19562</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-31T16:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis expression (nested?) help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-expression-nested-help/m-p/1124976#M19563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works great.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 16:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-expression-nested-help/m-p/1124976#M19563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-31T16:46:13Z</dc:date>
    </item>
  </channel>
</rss>

