<?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: Simple Aggr Subtotal problem. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876868#M990443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI &lt;A href="https://community.qlik.com/qlik-users/13229"&gt;jontydkpi&lt;/A&gt;&amp;nbsp; and in case anyone else has the same problem, I discovered a solution to this based on RowNo()=0 returning true for a chart's Totals row.&amp;nbsp; Here it is:&lt;/P&gt;&lt;P&gt;If(RowNo()=0,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;nbsp; Sum(Aggr(Sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;IDcount), DimB),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;nbsp; Sum(Aggr(Sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;IDcount), DimB, $(=GetCurrentField(DrillGroup)))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2015 03:21:57 GMT</pubDate>
    <dc:creator>robinrouleur</dc:creator>
    <dc:date>2015-07-30T03:21:57Z</dc:date>
    <item>
      <title>Simple Aggr Subtotal problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876859#M990422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can anyone shed any light on why the following doesn't give expected results.&amp;nbsp; My actual requirement is more complex but I created this example to trace the root cause to Aggr not working as I expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a single table in the model with columns ID, DimA, DimB.&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; I also load "1 AS IDcount" for summing. &lt;/SPAN&gt;&amp;nbsp; ID is unique but there may be multiple rows with the same DimA and/or DimB. My requirement is to report on DimA based on subtotals of the row counts of values in DimB.&amp;nbsp; Ie: the number of repeat occurrances of DimB for each DimA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a straight table chart with the single dimension DimA and two expressions.&amp;nbsp; The first is a control expression and the second tests Aggr against my understanding.&amp;nbsp; I expected the same result as Aggr creates subtotals for each value of DimB which the outer Sum() adds up, ie the sum of all the component subtotals equals the grand total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1: Sum(IDcount))&lt;/P&gt;&lt;P&gt;Expression2: Sum( Aggr( Sum(IDcount), DimB ) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is that the Total row at the top of the chart is as expected (ie both expressions the same) but the majority of the aggregations against individual values of DimA are wrong.&amp;nbsp; What is more puzzling is that when I click on a single row to select a single value of DimA the value of the Aggr expression for that one row becomes correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a bit of experimentaton we found that adding &lt;SPAN style="font-size: 13.3333330154419px;"&gt; ",DimA" after "DimB" in the above Expression2 gave correct results but it seems kludgy and in my real use-case I can't do this as my DimA is actually a drill-down group.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what I am missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my expectatons of Aggr() are incorrect can anyone suggest an alternative?&amp;nbsp; My core requirement is to report against each unique vaue of DimA the number of unique values of DimB that occur more than once, eg:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum( If (Aggr( Sum(IDcount), DimB ) ) &amp;gt; 1, 1, 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I hope that makes sense.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 10:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876859#M990422</guid>
      <dc:creator>robinrouleur</dc:creator>
      <dc:date>2015-07-15T10:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Aggr Subtotal problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876860#M990423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide few lines of data in excel please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 10:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876860#M990423</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-15T10:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Aggr Subtotal problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876861#M990424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This dialog window doesn't appear to give me an option to attach an XL file so here is a paste of both a sample input and the output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;DimA&lt;/TD&gt;&lt;TD&gt;DimB&lt;/TD&gt;&lt;TD&gt;IDcount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2810&lt;/TD&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;TD&gt;1849&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2851&lt;/TD&gt;&lt;TD&gt;24&lt;/TD&gt;&lt;TD&gt;1849&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4098&lt;/TD&gt;&lt;TD&gt;28&lt;/TD&gt;&lt;TD&gt;2710&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;T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lt;/P&gt;&lt;P&gt;Control Count = Sum(IDcount)&lt;/P&gt;&lt;P&gt;Aggr Count = Sum(Aggr(Sum(IDcount), DimB))&lt;/P&gt;&lt;P&gt;Aggr Count is wrong for DimA=23,24 &amp;amp; 31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 01:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876861#M990424</guid>
      <dc:creator>robinrouleur</dc:creator>
      <dc:date>2015-07-16T01:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Aggr Subtotal problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876862#M990427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Sum(IDcount), DimA,DimB))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="172630.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93026_172630.JPG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA the sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 03:47:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876862#M990427</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-07-16T03:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Aggr Subtotal problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876863#M990432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Settu&lt;/P&gt;&lt;P&gt;That works for my simplified example where DimA is fixed but in my real-life use-case DimA is a drill-down group.&amp;nbsp; Do you know of a solution for this more general case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 04:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876863#M990432</guid>
      <dc:creator>robinrouleur</dc:creator>
      <dc:date>2015-07-16T04:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Aggr Subtotal problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876864#M990435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;I think, it will work on drill-down group also.&lt;/P&gt;&lt;P&gt;Did you tried this in your real scenario?&lt;/P&gt;&lt;P&gt;Edit: find attached the drill-down group example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 04:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876864#M990435</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-07-16T04:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Aggr Subtotal problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876865#M990438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't unfortunately Settu. The reason is that the solution you describe is statically dependent on the dimension being reported against.&amp;nbsp; If it is just DimA then all good but if it becomes DimC(cyclic) or DimA &amp;amp; DimC (drill-down) then, to follow your logic, we would need to dynamically change the aggr list to "DimB,DimC" in the first case and "DimB,DimA,DimC" in the second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is also worth noting that adding dimensions to the aggr list introduces another problem.&amp;nbsp; It will, in general, change the value in the Totals row depending on the underlying data model.&amp;nbsp; In this simple example it doesn't but in my real-life use-case it does.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 05:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876865#M990438</guid>
      <dc:creator>robinrouleur</dc:creator>
      <dc:date>2015-07-16T05:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Aggr Subtotal problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876866#M990440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use GetCurrentField() to do this - like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Aggr(Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IDcount), DimB, $(=GetCurrentField(DrillGroup)))&lt;/SPAN&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/SPAN&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;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Aggr(Sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IDcount), DimB, $(=GetCurrentField('DrillGroup')))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where DrillGroup is the drill down group name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 05:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876866#M990440</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-16T05:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Aggr Subtotal problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876867#M990442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent Jonathan, that fixes my main problem, just my totals row to fix now!&amp;nbsp; Any idea how I can get my total to be the value aggregated against just DimB without the drill group fields?&amp;nbsp; With the additional aggr dimensions the total is now higher because some records match multple aggregations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 05:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876867#M990442</guid>
      <dc:creator>robinrouleur</dc:creator>
      <dc:date>2015-07-16T05:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Aggr Subtotal problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876868#M990443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI &lt;A href="https://community.qlik.com/qlik-users/13229"&gt;jontydkpi&lt;/A&gt;&amp;nbsp; and in case anyone else has the same problem, I discovered a solution to this based on RowNo()=0 returning true for a chart's Totals row.&amp;nbsp; Here it is:&lt;/P&gt;&lt;P&gt;If(RowNo()=0,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;nbsp; Sum(Aggr(Sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;IDcount), DimB),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;nbsp; Sum(Aggr(Sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;IDcount), DimB, $(=GetCurrentField(DrillGroup)))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 03:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Aggr-Subtotal-problem/m-p/876868#M990443</guid>
      <dc:creator>robinrouleur</dc:creator>
      <dc:date>2015-07-30T03:21:57Z</dc:date>
    </item>
  </channel>
</rss>

