<?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: Undesired total in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Undesired-total-in-pivot-table/m-p/1284485#M1292751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pivot table doesn't have a total mode option, but you should be able to replicate what you need using Sum(Aggr(...)) function. In your case you might just need to add Sum() outside cost*quantity if they are field names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(cost*quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(cost*quantity, &lt;EM&gt;&amp;lt;YourChartDimensions&amp;gt;&lt;/EM&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Mar 2017 11:03:36 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-01T11:03:36Z</dc:date>
    <item>
      <title>Undesired total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Undesired-total-in-pivot-table/m-p/1284484#M1292750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'vo got a pivot table with a code in DIMENSION, and quantity, unit cost and unit cost*quantity in EXPRESSION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each code, I'd like to obtain the total of quantity and cost*quantity BUT NOT the total of unit cost (because it's senseless, obviously), but the option "Total mode" in not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Undesired-total-in-pivot-table/m-p/1284484#M1292750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Undesired total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Undesired-total-in-pivot-table/m-p/1284485#M1292751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pivot table doesn't have a total mode option, but you should be able to replicate what you need using Sum(Aggr(...)) function. In your case you might just need to add Sum() outside cost*quantity if they are field names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(cost*quantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(cost*quantity, &lt;EM&gt;&amp;lt;YourChartDimensions&amp;gt;&lt;/EM&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Undesired-total-in-pivot-table/m-p/1284485#M1292751</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-01T11:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Undesired total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Undesired-total-in-pivot-table/m-p/1284486#M1292752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the replay; maybe I didn't explain the problem very well: the pivot table shows the sum of the unit costs (as well as the other two fields) but I don't want it to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 12:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Undesired-total-in-pivot-table/m-p/1284486#M1292752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-01T12:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Undesired total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Undesired-total-in-pivot-table/m-p/1284487#M1292753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use Dimensionality() and/or secondaryDimensionality() to hide the totals. Something along these lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = 0, Null(), YourExpression)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7969"&gt;How to use - Dimensionality()&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8006"&gt;The second dimension... or how to use secondarydimensionality()&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 12:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Undesired-total-in-pivot-table/m-p/1284487#M1292753</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-01T12:46:18Z</dc:date>
    </item>
  </channel>
</rss>

