<?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: Question on Aggr and set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119781#M765239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not entirely sure, but may be you need to add Country to the Aggr() function....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Jul 2018 02:17:34 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-07-07T02:17:34Z</dc:date>
    <item>
      <title>Question on Aggr and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119777#M765235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart where I need to aggregate by Year, Month, Country&amp;nbsp; all managers with &amp;lt;=&amp;nbsp; 2 direct reports.&lt;/P&gt;&lt;P&gt;When I select an individual month I get the right results in my count (264).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Aggr1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207244_Aggr1.PNG" style="height: 108px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select a range of months, I get an incorrect result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Aggr2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/207248_Aggr2.PNG" style="height: 149px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(&lt;/P&gt;&lt;P&gt;Aggr(&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;SL_SPRVSRY_ORG_WID={"=Aggr(Sum(TOTAL_ROLL_UP_COUNT),SL_SPRVSRY_ORG_WID)&amp;lt;=2"}&amp;gt;} TOTAL_ROLL_UP_COUNT)&lt;/P&gt;&lt;P&gt;,SL_SPRVSRY_ORG_WID&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimensions are Year, Month, country.&lt;/P&gt;&lt;P&gt;SL_SPRVSRY_ORG_WID&amp;nbsp; is a manager ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankx.&lt;/P&gt;&lt;P&gt;Gerry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119777#M765235</guid>
      <dc:creator>gerrycastellino</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Aggr and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119778#M765236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample to work on? may be try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= Count(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;SL_SPRVSRY_ORG_WID={"=Aggr(Sum(TOTAL_ROLL_UP_COUNT),SL_SPRVSRY_ORG_WID)&amp;lt;=2"}&amp;gt;} TOTAL_ROLL_UP_COUNT)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,SL_SPRVSRY_ORG_WID, &lt;STRONG&gt;[Fiscal Month]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 19:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119778#M765236</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-07-06T19:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Aggr and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119779#M765237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count(Aggr(If(Sum(TOTAL_ROLL_UP_COUNT) &amp;lt;= 2, 1, 0), SL_SPRVSRY_ORG_WID, Year, Month, Country))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 19:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119779#M765237</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-06T19:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Aggr and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119780#M765238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your solution worked well, with a little tweak:&lt;/P&gt;&lt;P&gt;I've put the DR in a variable, which makes it more flexbile in the expr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Aggr1.PNG" class="jive-image image-1" height="31" src="https://community.qlik.com/legacyfs/online/207250_Aggr1.PNG" style="height: 30.9161px; width: 599px;" width="599" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a small problem in my pivot table, the TOTAL numbers are accurate, but not displaying in line with the countries, as below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Aggr2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/207260_Aggr2.PNG" style="height: 158px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 21:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119780#M765238</guid>
      <dc:creator>gerrycastellino</dc:creator>
      <dc:date>2018-07-06T21:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Aggr and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119781#M765239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not entirely sure, but may be you need to add Country to the Aggr() function....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2018 02:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-Aggr-and-set-analysis/m-p/119781#M765239</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-07T02:17:34Z</dc:date>
    </item>
  </channel>
</rss>

