<?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 Subtotals in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292141#M856871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am creating a pivot table with two fields Amount and Net.Expressions are as follows:&lt;/P&gt;&lt;P&gt; If(ACCT1=ACCT2,If( Currency='CAD',Money(Sum(Amount),'$ #,##0.00;$ -#,##0.00')),0),but I need an expression without using sum field in my expression like &lt;SPAN style="font-size: 13.3333px;"&gt;If(ACCT1=ACCT2,If( Currency='CAD',Money(Amount,'$ #,##0.00;$ -#,##0.00')),0).I am getting correct values for this expression,but problem is it is not showing subtotals since I am not using sum in the expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help so that I can get subtotals also by using second expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292141#M856871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am creating a pivot table with two fields Amount and Net.Expressions are as follows:&lt;/P&gt;&lt;P&gt; If(ACCT1=ACCT2,If( Currency='CAD',Money(Sum(Amount),'$ #,##0.00;$ -#,##0.00')),0),but I need an expression without using sum field in my expression like &lt;SPAN style="font-size: 13.3333px;"&gt;If(ACCT1=ACCT2,If( Currency='CAD',Money(Amount,'$ #,##0.00;$ -#,##0.00')),0).I am getting correct values for this expression,but problem is it is not showing subtotals since I am not using sum in the expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help so that I can get subtotals also by using second expression&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/Subtotals-in-pivot-table/m-p/1292141#M856871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292142#M856872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't matter if you using Sum or Count.&lt;/P&gt;&lt;P&gt;Partial sum will come when you enable that option in 'Participation Tab'&lt;/P&gt;&lt;P&gt;Here I'm using 1 as an expression and it still gives me subtotals.&lt;/P&gt;&lt;P&gt;Correct me if I'm wrong and is this what you looking for?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151951_Capture.PNG" style="height: 311px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 16:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292142#M856872</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-02-03T16:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292143#M856873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aehman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting null values when I am not using sum in the expression&lt;/P&gt;&lt;P&gt;&lt;IMG alt="subtotal.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151961_subtotal.PNG" style="height: 18px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;when I am using Sum it is returning a value as shown above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 17:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292143#M856873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-03T17:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292144#M856874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After adding Sum to your expression, go to Presentation Tab in properties of chart and enable the 'Show partial sum' option.&lt;/P&gt;&lt;P&gt;If still finding issue, can you upload the sample qvw?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 17:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292144#M856874</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-02-03T17:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292145#M856875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try in script level for Sum(amount) as amount1 by using Group By of associate field and then try something like&lt;/P&gt;&lt;P&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;STRONG&gt;If(ACCT1=ACCT2,If( Currency='CAD',Money(amount1,'$ #,##0.00;$ -#,##0.00')),0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 17:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292145#M856875</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-03T17:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292146#M856876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;In my opinion&amp;nbsp; "show partial sum" is an absolutely misleading description, because it is not a sum, it is an expression within certain dimensions... I rather would call it "group by dimension".&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could make use of aggr()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;LOAD&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INLINE&lt;/SPAN&gt; &lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[&lt;BR /&gt; F1, F2&lt;BR /&gt; A, 1&lt;BR /&gt; B, 2&lt;BR /&gt; C, 3&lt;BR /&gt; D, 4&lt;BR /&gt; E, 5&lt;BR /&gt; F, 6&lt;BR /&gt; G, 7&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="151962" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151962_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 17:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292146#M856876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-03T17:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292147#M856877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;just for explanation, your expression is basically&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;only(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;If(ACCT1=ACCT2,If( Currency='CAD',Money(Sum(Amount),'$ #,##0.00;$ -#,##0.00')),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 17:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292147#M856877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-03T17:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292148#M856878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not using 'only' in the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2017 07:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292148#M856878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-04T07:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292149#M856879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes but Sum(Amount) is not giving me correct results that is why I am not trying to use Sum in my expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2017 07:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292149#M856879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-04T07:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292150#M856880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;If you're not using only you're using only ... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;(have a look at &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/08/03/the-only-function" title="https://community.qlik.com/blogs/qlikviewdesignblog/2012/08/03/the-only-function"&gt;https://community.qlik.com/blogs/qlikviewdesignblog/2012/08/03/the-only-function)&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;only(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;If(ACCT1=ACCT2,If( Currency='CAD',Money(Sum(Amount),'$ #,##0.00;$ -#,##0.00')),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #000000; text-decoration: line-through;"&gt;is exactly the same as&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #000000; text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;if(ACCT1=ACCT2,If( Currency='CAD',Money(Sum(Amount),'$ #,##0.00;$ -#,##0.00')),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN style="color: #000000; text-decoration: line-through;"&gt;I prefer using only(...), because I think it is easier to maintain an overview.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Here's my example "without" only()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;IMG __jive_id="151996" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151996_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;You have to adapt it to your needs...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Example: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I suppose you have 3 dimensions within your pivot table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Let's call them D1, D2, D3...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Then your aggr() expression should look like that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;sum(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ACCT1=ACCT2,If( Currency='CAD',Money(Sum(Amount),'$ #,##0.00;$ -#,##0.00')),0)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;,D1,D2,D3&lt;/SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN style="color: #000000;"&gt;Robin&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2017 08:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292150#M856880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-04T08:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292151#M856881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I see your problem, you make use of nested aggregations...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(If(ACCT1=ACCT2,If( Currency='CAD',Money((Amount),'$ #,##0.00;$ -#,##0.00')),0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2017 09:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotals-in-pivot-table/m-p/1292151#M856881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-04T09:19:30Z</dc:date>
    </item>
  </channel>
</rss>

