<?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: Pivot Table Partial totals not working properly. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455765#M795123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use Sum(Aggr(, Dimension/s)) around your expression to fix the totals... read here&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm"&gt;Sum of rows in pivot tables ‒ QlikView&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3798"&gt;Totals in Charts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;YourExpression&lt;/EM&gt;&lt;/SPAN&gt;, Division, ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Dec 2017 15:07:09 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-12-27T15:07:09Z</dc:date>
    <item>
      <title>Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455764#M795122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the below pivot table i have enabled partial totals for ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the total to be different sum of the Top rows. but it is defaulting to Expression total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="188267" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188267_Capture.JPG" style="height: 666px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working the way it should Visits as the expression is Sum(Visits).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when it comes to AMGA and MGMA there is some multiplication going on expression level. Rather than just adding the columns the total is also being calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way i restrict it to sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nithin&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/Pivot-Table-Partial-totals-not-working-properly/m-p/1455764#M795122</guid>
      <dc:creator>nithin_miryala</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455765#M795123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use Sum(Aggr(, Dimension/s)) around your expression to fix the totals... read here&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm"&gt;Sum of rows in pivot tables ‒ QlikView&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3798"&gt;Totals in Charts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;YourExpression&lt;/EM&gt;&lt;/SPAN&gt;, Division, ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 15:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455765#M795123</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-27T15:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455766#M795124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is really helpful i am 1 step closer to the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression in AMGA is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM(AMGA) * Weight&lt;/STRONG&gt;.&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;Weight is the dimension and weight is also calculated expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i rewrite the expression in the following manner &lt;SPAN style="font-size: 13.3333px;"&gt;it is giving me the error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum( Aggr( sum(AMGA) * Weight , Division,ID) )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i take out the weight it is giving me correct format but i require weight to be multiplied&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;sum( Aggr( sum(AMGA) , Division,ID) )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;How to write the multiplication inside the aggr()?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 15:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455766#M795124</guid>
      <dc:creator>nithin_miryala</dc:creator>
      <dc:date>2017-12-27T15:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455767#M795125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weight will return Row level, To work you may try 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 style="font-style: inherit; font-family: inherit;"&gt;sum( Aggr( sum(AMGA) * Sum(Weight) , Division,ID) )&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;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;OR&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;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;sum( Aggr( sum(AMGA* Weight) , Division,ID) )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 15:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455767#M795125</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-27T15:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455768#M795126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can multiply within Aggr(), but you cannot use another column reference with Aggr(). If Weight is an expression, you need to write the whole expression again within the Aggr() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Sum(AMGA) * &lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;Expression4WeightHere&lt;/EM&gt;&lt;/SPAN&gt;, Division, ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 15:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455768#M795126</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-27T15:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455769#M795127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is also determined by PSR and FTE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PSR*FTE/12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think i cant write this in side the aggr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 15:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455769#M795127</guid>
      <dc:creator>nithin_miryala</dc:creator>
      <dc:date>2017-12-27T15:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455770#M795128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anything which is not a field will not work inside Aggr(). If PSR and FTE are fields, then it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Sum(AMGA) * PSR*FTE/12, Division, ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455770#M795128</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-27T16:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455771#M795129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it throws an error if i write &lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;sum( Aggr( sum(AMGA* Weight) , Division,ID) ).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;I tring to put all the stuff in the backend and do the aggr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455771#M795129</guid>
      <dc:creator>nithin_miryala</dc:creator>
      <dc:date>2017-12-27T16:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455772#M795130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok. i will try to put all these in data modal and see&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455772#M795130</guid>
      <dc:creator>nithin_miryala</dc:creator>
      <dc:date>2017-12-27T16:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455773#M795131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boom, You said title it "Pivot Table". We thought you are doing this in UI. And the concept Aggr() is not the existing function in Script (So, In script we are calling Group By like DB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Division, ID, AMGA, Weight From Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Division, ID, Sum(AMGA)*Sum(Weight) as AMGAWeight Resident Table Group By Division, ID;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455773#M795131</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-27T16:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455774#M795132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aggr() function is for the front end of the app... doesn't work in the script....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455774#M795132</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-27T16:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Partial totals not working properly.</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455775#M795133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was referring to all the other feilds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Partial-totals-not-working-properly/m-p/1455775#M795133</guid>
      <dc:creator>nithin_miryala</dc:creator>
      <dc:date>2017-12-27T16:26:51Z</dc:date>
    </item>
  </channel>
</rss>

