<?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: Totals in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515827#M192614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;You will have to use the aggr function:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(aggr(Sum(Quantity) / Sum(Pieces),&lt;EM&gt;Dim1, Dim2, ..., DimN&lt;/EM&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Replace &lt;EM&gt;Dim1, Dim2, ...,DimN&lt;/EM&gt; with the dimensions of your pivot table.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Dec 2013 14:22:24 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-12-02T14:22:24Z</dc:date>
    <item>
      <title>Totals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515826#M192613</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;I'm facing a problem with my development. I'm using a pivot table with 3 expressions: &lt;/P&gt;&lt;P&gt;Sum(Quantity), Sum(Pieces) and Sum(Quantity) / Sum(Pieces). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is the total of the rows on each of these expressions. But, on the third column, the total is equivalent to TOTAL(Quantity)/TOTAL(Pieces) and not the sum of rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my example below, I need to have 322 instead of 121.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49844_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can fix this problem by using a simple table but I really need a pivot table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a solution to fix this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 14:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515826#M192613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-02T14:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Totals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515827#M192614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;You will have to use the aggr function:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(aggr(Sum(Quantity) / Sum(Pieces),&lt;EM&gt;Dim1, Dim2, ..., DimN&lt;/EM&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Replace &lt;EM&gt;Dim1, Dim2, ...,DimN&lt;/EM&gt; with the dimensions of your pivot table.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 14:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515827#M192614</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-12-02T14:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Totals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515828#M192615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can customize that function in expression itself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 14:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515828#M192615</guid>
      <dc:creator>saumyashah90</dc:creator>
      <dc:date>2013-12-02T14:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Totals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515829#M192616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. Unfortunately, my dimensions are three cyclic groups and the period, so I tried to use your formula on my group and on all the dimensions in this group, it didn't work well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 15:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515829#M192616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-02T15:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Totals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515830#M192617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys , can you help me on below link ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/101444"&gt;Pivot table how to use Aggr to compute Diff % ?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 22:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-in-pivot-table/m-p/515830#M192617</guid>
      <dc:creator />
      <dc:date>2013-12-10T22:00:28Z</dc:date>
    </item>
  </channel>
</rss>

