<?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 Subtotal in Pivot table by one particular Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subtotal-in-Pivot-table-by-one-particular-Dimension/m-p/111588#M17367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a pivot table in my app that looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/210078_Table1.png" style="height: 293px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I would like to have a line in the table that gives the totals for each Bidder by the dimension Category. For example, in 'Package A' Bidder A's subtotal for the category 'Equipments' is 14195 and Bidder B's subtotal for the same category is 14592. I'd like to see the subtotals for each category for each bidder. Looking for something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/210080_Table2.PNG" style="height: 82px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I do know that there's a subtotal option in the Presentation tab, but it gives me the subtotal from that dimension for all the lines together. I tried instead by doing an expression in the dimensions like this:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15336291940098867" jivemacro_uid="_15336291940098867"&gt;
&lt;P&gt;Sum(Aggr([Total Price],No.,[Package Name],[Specification 1],[Specification 2],Ser.Category,[Component Bid No],[CB_1 Cost Element],Supplier))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me get this subtotal. Attaching the sample to the post. Thanks in advance! &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/34510"&gt;kaushik.solanki&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 08:10:06 GMT</pubDate>
    <dc:creator>mrthomasshelby</dc:creator>
    <dc:date>2018-08-07T08:10:06Z</dc:date>
    <item>
      <title>Subtotal in Pivot table by one particular Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotal-in-Pivot-table-by-one-particular-Dimension/m-p/111588#M17367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a pivot table in my app that looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/210078_Table1.png" style="height: 293px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I would like to have a line in the table that gives the totals for each Bidder by the dimension Category. For example, in 'Package A' Bidder A's subtotal for the category 'Equipments' is 14195 and Bidder B's subtotal for the same category is 14592. I'd like to see the subtotals for each category for each bidder. Looking for something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/210080_Table2.PNG" style="height: 82px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I do know that there's a subtotal option in the Presentation tab, but it gives me the subtotal from that dimension for all the lines together. I tried instead by doing an expression in the dimensions like this:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15336291940098867" jivemacro_uid="_15336291940098867"&gt;
&lt;P&gt;Sum(Aggr([Total Price],No.,[Package Name],[Specification 1],[Specification 2],Ser.Category,[Component Bid No],[CB_1 Cost Element],Supplier))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me get this subtotal. Attaching the sample to the post. Thanks in advance! &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/34510"&gt;kaushik.solanki&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 08:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotal-in-Pivot-table-by-one-particular-Dimension/m-p/111588#M17367</guid>
      <dc:creator>mrthomasshelby</dc:creator>
      <dc:date>2018-08-07T08:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal in Pivot table by one particular Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotal-in-Pivot-table-by-one-particular-Dimension/m-p/111589#M17368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understood right. May be like:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/210086_Capture.JPG" style="height: 159px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 08:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotal-in-Pivot-table-by-one-particular-Dimension/m-p/111589#M17368</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-08-07T08:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal in Pivot table by one particular Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Subtotal-in-Pivot-table-by-one-particular-Dimension/m-p/111590#M17369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just found out you can do subtotals by different dimensions. This works. Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 08:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtotal-in-Pivot-table-by-one-particular-Dimension/m-p/111590#M17369</guid>
      <dc:creator>mrthomasshelby</dc:creator>
      <dc:date>2018-08-07T08:34:56Z</dc:date>
    </item>
  </channel>
</rss>

