<?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: Problem using set analysis with aggregate and rangesum in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problem-using-set-analysis-with-aggregate-and-rangesum/m-p/1411471#M33158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to uncheck 'Include Zero Values' undre Add-ons -&amp;gt; Data handling&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2017 19:34:08 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-11-03T19:34:08Z</dc:date>
    <item>
      <title>Problem using set analysis with aggregate and rangesum</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-using-set-analysis-with-aggregate-and-rangesum/m-p/1411470#M33157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm creating a chart that uses set analysis to restrict the output.&amp;nbsp; Everything seemed to be working but then I noticed that a dimension value is being returned for items that are being excluded by the set analysis.&amp;nbsp; In the chart image below the hour for 6am shows up but there is no information for 6am based on my set analysis.&amp;nbsp; The information for 6am is for departments not included.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SetAnalysisIssue.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182059_SetAnalysisIssue.JPG" style="height: 311px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I've tried putting the set analysis right after the AGGR, on the individual counts and on all of them but 6am is always being returned.&amp;nbsp; Here are my AGGR functions for reference.&amp;nbsp; Thanks in advance for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(RangeSum(Above(Count({$&amp;lt;Department_Name = {'CHEMISTRY','HEMATOLOGY'}&amp;gt;}[Order#])/ &lt;/P&gt;&lt;P&gt;Count({$&amp;lt;Department_Name = {'CHEMISTRY','HEMATOLOGY'}&amp;gt;}TOTAL &amp;lt;Date_Receive&amp;gt; [Order#]), 0, RowNo())),Date_Receive,(Received_Hour,Numeric()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr({$&amp;lt;Department_Name = {'CHEMISTRY','HEMATOLOGY'}&amp;gt;} RangeSum(Above(Count([Order#])/ &lt;/P&gt;&lt;P&gt;Count(TOTAL &amp;lt;Date_Receive&amp;gt; [Order#]), 0, RowNo())),Date_Receive,(Received_Hour,Numeric()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 19:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-using-set-analysis-with-aggregate-and-rangesum/m-p/1411470#M33157</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2017-11-03T19:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using set analysis with aggregate and rangesum</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-using-set-analysis-with-aggregate-and-rangesum/m-p/1411471#M33158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to uncheck 'Include Zero Values' undre Add-ons -&amp;gt; Data handling&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 19:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-using-set-analysis-with-aggregate-and-rangesum/m-p/1411471#M33158</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-03T19:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using set analysis with aggregate and rangesum</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-using-set-analysis-with-aggregate-and-rangesum/m-p/1411472#M33159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny!&amp;nbsp; That was it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 19:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-using-set-analysis-with-aggregate-and-rangesum/m-p/1411472#M33159</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2017-11-03T19:40:19Z</dc:date>
    </item>
  </channel>
</rss>

