<?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: total row aggregated over dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347520#M576465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems a quite good solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just added this to my load script in order to not disturb other objects using "Category" field without totals:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET NULLINTERPRET=NULL;&lt;/P&gt;&lt;P&gt;CategoryMap:&lt;BR /&gt;LOAD Category, Category as CategoryMap&lt;BR /&gt;resident Category;&lt;BR /&gt;Concatenate(CategoryMap)&lt;BR /&gt;Load * INLINE [&lt;BR /&gt; Category,CategoryMap&lt;BR /&gt; NULL,Total&lt;BR /&gt;];&lt;BR /&gt;SET NULLINTERPRET=;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use only for my table with total line the field "CategoryMap" instead of field "Category", and it's perfect.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2012 15:58:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-11T15:58:07Z</dc:date>
    <item>
      <title>Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347516#M576461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an application to explain my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a pivot table as below with a final row containing the two totals values of expressions (1,2,3) aggregated by the "Measure" dimension.&lt;/P&gt;&lt;P&gt;The measure dimension is a inline table without connexion with data. i just use it for have a "label dimension" in order to use two formula by expression dependant of the "Measure" label.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table I want.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="482"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl25" height="18" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 1pt solid; background-color: whitesmoke; border-top: windowtext 1pt solid; border-right: #d4d0c8;" width="98"&gt;&lt;STRONG style="color: #333333; font-size: 10pt; font-family: Tahoma;"&gt;Category&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl33" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; background-color: whitesmoke; border-top: windowtext 1pt solid; border-right: windowtext 0.5pt solid;" width="98"&gt;&lt;STRONG style="color: #333333; font-size: 10pt; font-family: Tahoma;"&gt;Measure&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl34" style="border-bottom: windowtext 1pt solid; border-left: windowtext; background-color: white; border-top: windowtext 1pt solid; border-right: #d4d0c8;" width="98"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;Expr1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl35" style="background-color: white; border: windowtext 1pt solid;" width="98"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;Expr2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl35" style="border-bottom: windowtext 1pt solid; border-left: windowtext; background-color: white; border-top: windowtext 1pt solid; border-right: windowtext 1pt solid;" width="90"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;Expr3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl27" height="34" rowspan="2" style="border-bottom: #d4d0c8; border-left: windowtext 1pt solid; background-color: white; border-top: windowtext; border-right: #d4d0c8;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;C1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl30" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 1pt solid; background-color: white; border-top: #d4d0c8; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;MeasureA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl31" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: #d4d0c8; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl31" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: #d4d0c8; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl32" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-top: #d4d0c8; border-right: windowtext 1pt solid;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 1pt solid; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;MeasureB&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;100001,4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 1pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;100001,4&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl27" height="34" rowspan="2" style="border-bottom: #d4d0c8; border-left: windowtext 1pt solid; background-color: white; border-top: windowtext 0.5pt solid; border-right: #d4d0c8;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;C2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl26" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 1pt solid; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;MeasureA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-top: windowtext; border-right: windowtext 1pt solid;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 1pt solid; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;MeasureB&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-top: windowtext; border-right: windowtext 1pt solid;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl27" height="34" rowspan="2" style="border-bottom: #d4d0c8; border-left: windowtext 1pt solid; background-color: white; border-top: windowtext 0.5pt solid; border-right: #d4d0c8;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;C3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl26" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 1pt solid; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;MeasureA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-top: windowtext; border-right: windowtext 1pt solid;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 1pt solid; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;MeasureB&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;555&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-top: windowtext; border-right: windowtext 1pt solid;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;555&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl29" height="35" rowspan="2" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: white; border-top: windowtext 0.5pt solid; border-right: #d4d0c8;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;C4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl26" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 1pt solid; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;MeasureA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl23" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; border-top: windowtext; border-right: windowtext 1pt solid;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl36" height="18" style="border-bottom: #d4d0c8; border-left: windowtext 1pt solid; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;MeasureB&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl37" style="border-bottom: #d4d0c8; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl37" style="border-bottom: #d4d0c8; border-left: windowtext; background-color: white; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl38" style="border-bottom: #d4d0c8; border-left: windowtext; border-top: windowtext; border-right: windowtext 1pt solid;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl39" height="35" rowspan="2" style="border-bottom: black 1pt solid; border-left: windowtext 1pt solid; background-color: silver; border-top: #d4d0c8; border-right: #d4d0c8;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl40" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 1pt solid; background-color: silver; border-top: windowtext 1pt solid; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;&lt;STRONG&gt;MeasureA&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl41" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: silver; border-top: windowtext 1pt solid; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl42" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: silver; border-top: windowtext 1pt solid; border-right: windowtext 0.5pt solid;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;0&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl43" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: silver; border-top: windowtext 1pt solid; border-right: windowtext 1pt solid;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;4&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl45" height="18" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; background-color: silver; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;&lt;STRONG&gt;MeasureB&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl46" style="border-bottom: windowtext 1pt solid; border-left: windowtext; background-color: silver; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333; font-size: 10pt;"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl47" style="border-bottom: windowtext 1pt solid; border-left: windowtext; background-color: silver; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;100556,4&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl48" style="border-bottom: windowtext 1pt solid; border-left: windowtext; background-color: silver; border-top: windowtext; border-right: windowtext 1pt solid;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;100556,4&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one I obtain using "partial sum": &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 490px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" width="98"&gt;Category&lt;/TD&gt;&lt;TD class="xl27" style="border-left: medium none;" width="98"&gt;Measure&lt;/TD&gt;&lt;TD class="xl28" style="border-left: medium none;" width="98"&gt;Expr1&lt;/TD&gt;&lt;TD class="xl28" style="border-left: medium none;" width="98"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expr2&lt;/TD&gt;&lt;TD class="xl29" style="border-left: medium none;" width="98"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expr3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl30" height="51" rowspan="3" style="border-top: medium none;"&gt;C1&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;MeasureA&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl31" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-left: medium none; border-top: medium none;"&gt;MeasureB&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;100001,4&lt;/TD&gt;&lt;TD align="right" class="xl31" style="border-left: medium none; border-top: medium none;"&gt;100001,4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-left: medium none; border-top: medium none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl32" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl30" height="51" rowspan="3" style="border-top: medium none;"&gt;C2&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;MeasureA&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl31" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-left: medium none; border-top: medium none;"&gt;MeasureB&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl31" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-left: medium none; border-top: medium none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl32" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl30" height="51" rowspan="3" style="border-top: medium none;"&gt;C3&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;MeasureA&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl31" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-left: medium none; border-top: medium none;"&gt;MeasureB&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;555&lt;/TD&gt;&lt;TD align="right" class="xl31" style="border-left: medium none; border-top: medium none;"&gt;555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-left: medium none; border-top: medium none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl32" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl30" height="52" rowspan="3" style="border-bottom: black 1pt solid; border-top: medium none;"&gt;C4&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; border-top: medium none;"&gt;MeasureA&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl31" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-left: medium none; border-top: medium none;"&gt;MeasureB&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl31" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl34" height="18" style="border-left: medium none; border-top: medium none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl34" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl34" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl35" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total values must be processed when we do fields selection, so I can't process the totals values in the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only method I have found to have this is to use two pivot tables: one for the total, one for other rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want only one pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 08:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347516#M576461</guid>
      <dc:creator />
      <dc:date>2012-05-11T08:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347517#M576462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I wanted to make sure if I have understood your question. Do you want to show the Sub-totals for each Measure (Field)? I mean in your example do you wanted to see Total for each Category where the calculation is MeasureA + MeasureB, is this right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;If this is incorrect assumption then please can you quickly mockup a table showing what is the output you are expecting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 08:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347517#M576462</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-11T08:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347518#M576463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want on "Total - MeasureA" the total of MeasureA rows, same thing for B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Expr1 we have MeasureA&amp;nbsp; C1-&amp;gt;2,&amp;nbsp; C2-&amp;gt;1, C3-&amp;gt;1 and C4-&amp;gt;0. So on "Total - MeasureA"&amp;nbsp; I want the sum : 2+1+1+0=4&lt;/P&gt;&lt;P&gt;and on "Total - MeasureB" : 0+0+0+0=0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want Total MeasureA over dimension Category, and the same for MeasureB as in my first table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 12:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347518#M576463</guid>
      <dc:creator />
      <dc:date>2012-05-11T12:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347519#M576464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi Again,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Now I understand the requirement. Your "&lt;EM&gt;&lt;STRONG&gt;Total Temp Solution&lt;/STRONG&gt;&lt;/EM&gt;" table was hidden in your original example and that's the reason why I couldn't follow you completely. Anyway, I had to tweak two things to get this working:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;1. I have added "Total" value in the Category field in the Load Script. After reloading the document, it shows up "Total" at the end under Category Dimension and you can also remove it by using calculated expression if it's not required in other objects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;2. I don't like to use IF statements because it's massive overhead when your data fields have high cardinality. However, this still works as a solution and I'll leave it your judgement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;_____________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;Here is the expression you should be using :&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;IF(Measure='MeasureA' and Category &amp;lt;&amp;gt; 'Total',&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Distinct Id),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;IF(Measure='MeasureA' and Category = 'Total',&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;SPAN style="color: #008000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(TOTAL AGGR(COUNT(Distinct Id), Category))&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp; )&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt; )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;_____________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;Explanation of above expression :&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;EM&gt;&lt;STRONG&gt;Step 1&lt;/STRONG&gt;&lt;/EM&gt; : We are checking both the condition i.e (If the Measure = 'MeasureA' and Category &amp;lt;&amp;gt; 'Total' then we will use your original expression which is : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;Count(Distinct Id)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;EM&gt;&lt;STRONG&gt;Step 2&lt;/STRONG&gt;&lt;/EM&gt; : Once the QV engine evaluates "False" for the above expression then we are checking the condition i.e. (If the Measure = 'MeasureA' and Category = 'Total' then we will use&amp;nbsp; this expression : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;Sum(TOTAL AGGR(COUNT(Distinct Id), Category))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;This expression aggregates and calculates the total. Which is 4 in your example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;EM&gt;&lt;STRONG&gt;Step 3&lt;/STRONG&gt;&lt;/EM&gt;: If both the conditions are not "True" then QV assigns 0. So all the values with Measure = 'MeasureB' having 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I'm also attaching the QV document for your reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://QlikShare.Com"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 13:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347519#M576464</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-11T13:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347520#M576465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems a quite good solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just added this to my load script in order to not disturb other objects using "Category" field without totals:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET NULLINTERPRET=NULL;&lt;/P&gt;&lt;P&gt;CategoryMap:&lt;BR /&gt;LOAD Category, Category as CategoryMap&lt;BR /&gt;resident Category;&lt;BR /&gt;Concatenate(CategoryMap)&lt;BR /&gt;Load * INLINE [&lt;BR /&gt; Category,CategoryMap&lt;BR /&gt; NULL,Total&lt;BR /&gt;];&lt;BR /&gt;SET NULLINTERPRET=;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use only for my table with total line the field "CategoryMap" instead of field "Category", and it's perfect.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 15:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347520#M576465</guid>
      <dc:creator />
      <dc:date>2012-05-11T15:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347521#M576466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I'm happy to know that you have got it working. It was interesting question, which made me think. Thanks for that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Not sure if you have massive application. But if you have massive application then you could do Partial Reload for these kind of scenarios. This is ideal situation to use Partial Reload. Incase, if you wanted more understanding on Partial Reload then please check the below post on my blog :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;A class="jive-link-external-small" href="http://qlikshare.com/370"&gt;http://qlikshare.com/370&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Have a great weekend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers - DV&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 16:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347521#M576466</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-11T16:06:32Z</dc:date>
    </item>
    <item>
      <title>Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347522#M576467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DV,&lt;/P&gt;&lt;P&gt;I was looking for your solution because it is very interesting.&lt;/P&gt;&lt;P&gt;May I ask you a thing!?&lt;/P&gt;&lt;P&gt;Your solution with MeasureA works perfectly.&lt;/P&gt;&lt;P&gt;What about MeasureB? I used your solution with MeasureB but i don't obtain the result 100556,4 .&lt;/P&gt;&lt;P&gt;Am I making a mistake?&lt;/P&gt;&lt;P&gt;I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Measure='MeasureB' and Category &amp;lt;&amp;gt; 'Total',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Distinct Id),&lt;/P&gt;&lt;P&gt;IF(Measure='MeasureB' and Category = 'Total',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(TOTAL AGGR(COUNT(Distinct Id), Category)),&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; )&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; )&lt;/P&gt;&lt;P&gt;I'm sorry but your solution is very nice and I would like to use it.&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Giampiero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 08:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347522#M576467</guid>
      <dc:creator />
      <dc:date>2012-05-14T08:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347523#M576468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi Giampiero,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I'm glad that you find this thread interesting and don't have to be sorry. This whole purpose of having this community is to help each other. I learn a lot from all of you guys. So it's okay mate. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I'm assuming that you are talking about Expr2. And the original expression for Exp2 is different from Expr1. So please try the below expression and it should work :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;IF(Measure='MeasureB' and Category &amp;lt;&amp;gt; 'Total',&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM( aggr(NODISTINCT&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(ValueB),Category,Id)),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;IF(Measure='MeasureB' and Category = 'Total',&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(total aggr(NODISTINCT&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(ValueB),Category,Id)),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp; )&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt; )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I'm also attaching the example for your reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://QlikShare.Com"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 08:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347523#M576468</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-14T08:50:07Z</dc:date>
    </item>
    <item>
      <title>Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347524#M576469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DV,&lt;/P&gt;&lt;P&gt;thank you so much.&lt;/P&gt;&lt;P&gt;I think the same thing about this community.&lt;/P&gt;&lt;P&gt;I often try to help and to be helped &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You're right, I didn't use the expression 2. Now it works perfectly.&lt;/P&gt;&lt;P&gt;I like a lot your solution. It will be a good start point to solve similar problem in the future.&lt;/P&gt;&lt;P&gt;Again, THANK YOU SO MUCH.&lt;/P&gt;&lt;P&gt;Giampiero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 09:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347524#M576469</guid>
      <dc:creator />
      <dc:date>2012-05-14T09:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347525#M576470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi Giampiero,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Great! You are welcome mate. I'll make a video post on this topic and post it on my blog.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;A href="http://QlikShare.Com"&gt;www.QlikShare.com&lt;/A&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 09:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347525#M576470</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-14T09:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347526#M576471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had just a little problem because on Category field value selections I lost my Total row.&lt;/P&gt;&lt;P&gt;To solve it I just replace my previous inline table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: blue; font-size: 8pt;"&gt;&lt;EM style="color: blue; font-size: 8pt;"&gt;SET &lt;/EM&gt;&lt;EM style="color: blue; font-size: 8pt;"&gt; &lt;/EM&gt;NULLINTERPRET=NULL;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: blue; font-size: 8pt;"&gt;CategoryMap:&lt;BR /&gt;LOAD Category, Category as CategoryMap&lt;BR /&gt;resident Category;&lt;BR /&gt;Concatenate(CategoryMap)&lt;BR /&gt;Load * INLINE [&lt;BR /&gt;Category,CategoryMap&lt;BR /&gt;NULL,Total&lt;BR /&gt;];&lt;BR /&gt;SET NULLINTERPRET=;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 8pt;"&gt;&lt;EM style="font-size: 8pt;"&gt;By just a list &lt;/EM&gt;&lt;EM style="font-size: 8pt;"&gt; &lt;/EM&gt;independent of data selections&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 8pt;"&gt;&lt;STRONG style="font-size: 8pt;"&gt;CategoryMap&lt;/STRONG&gt;&lt;STRONG style="font-size: 8pt;"&gt; &lt;/STRONG&gt;:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-size: 8pt;"&gt;&lt;STRONG style="font-size: 8pt;"&gt;LOAD Category as &lt;/STRONG&gt;&lt;STRONG style="font-size: 8pt;"&gt; &lt;/STRONG&gt;CategoryMap&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-size: 8pt;"&gt;resident Category;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-size: 8pt;"&gt;&lt;STRONG style="font-size: 8pt;"&gt;Concatenate(&lt;/STRONG&gt;CategoryMap)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-size: 8pt;"&gt;Load * INLINE [&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-size: 8pt;"&gt;CategoryMap&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-size: 8pt;"&gt;Total&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;STRONG style="font-size: 8pt;"&gt;];&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Then use this field &lt;/SPAN&gt;CategoryMap in pivot table first dimension expression as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="font-size: 8pt;"&gt;&lt;EM style="font-size: 8pt;"&gt;=If(&lt;/EM&gt;CategoryMap=Category or CategoryMap='Total',CategoryMap)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the total row don't be hidden if I select C1 and C2 Category value, for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM style="font-size: 8pt;"&gt;﻿&lt;/EM&gt;&lt;/SPAN&gt;And as the "Total" value isn't linked to Category field values expressions are automatically set to total value without the &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;EM&gt;If(&lt;/EM&gt;CategoryMap='Total') &lt;/EM&gt;&lt;/STRONG&gt;condition. I have just need to set this condition on total value for expression using AGGR function, not for simple Sum and Count expression.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My row Total isn't hidden now when I do selection&amp;nbsp; on field "Category".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just see something strange now: why C1 Exr2 measureB is 100001.4 and not 100000.95 ? &lt;/P&gt;&lt;P&gt;min valueB for&amp;nbsp; Id 1 and Category C1 is 0.45 and for Id 9 Category C1 it's 100000.5&lt;/P&gt;&lt;P&gt;Normally the sum must be 100000.95, not 100001.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another question, but without link with this subject:&lt;/P&gt;&lt;P&gt;Is it possible to do something like this on this pivot table?:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 527px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl22" colspan="2" width="196"&gt;&lt;/TD&gt;&lt;TD class="xl23" colspan="2" style="border-left: medium none;" width="150"&gt;MyFirstSuperHeader&lt;/TD&gt;&lt;TD&gt;MySecondSuperHedaer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl27" height="17"&gt;CategoryMap&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;"&gt;Measure&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none;"&gt;Expr1&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none;"&gt;Expr2&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none;"&gt;Expr3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl28" height="51" rowspan="3" style="border-bottom: black 0.5pt solid; border-top: medium none;"&gt;C1&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none; border-top: medium none;"&gt;MeasureA&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-left: medium none; border-top: medium none;"&gt;MeasureB&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;100001,4&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;100001,4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-left: medium none; border-top: medium none;"&gt;MeasureA&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl31" height="17" style="border-top: medium none;"&gt;C2&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none; border-top: medium none;"&gt;MeasureB&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl28" height="34" rowspan="2" style="border-bottom: black 0.5pt solid; border-top: medium none;"&gt;C3&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none; border-top: medium none;"&gt;MeasureA&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-left: medium none; border-top: medium none;"&gt;MeasureB&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;555&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl31" height="17" style="border-top: medium none;"&gt;C4&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none; border-top: medium none;"&gt;MeasureA&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl31" height="17" style="border-top: medium none;"&gt;C4&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none; border-top: medium none;"&gt;MeasureB&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl32" height="34" rowspan="2" style="border-bottom: black 0.5pt solid; border-top: medium none;"&gt;Total&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;"&gt;MeasureA&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-left: medium none; border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-left: medium none; border-top: medium none;"&gt;MeasureB&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-left: medium none; border-top: medium none;"&gt;100556,4&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Currently I made this with two horrible text object which don't autosize when my pivot table size change.&lt;/P&gt;&lt;P&gt;I have already tried to do some sort of inline table with headers/super headers, but I can't hide/delete column when expressions is null. I had something like this&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" colspan="3" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Parent Header 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" colspan="3" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Parent Header 2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Expr1&lt;/TD&gt;&lt;TD&gt;Expr2&lt;/TD&gt;&lt;TD&gt;Expr3&lt;/TD&gt;&lt;TD colspan="2"&gt;Expr2&lt;/TD&gt;&lt;TD&gt;Expr3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;even with "Supress When Value is Null" checked on my "inline" dimension ParentHeader and Expressions defined with a condition like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;IF(ParentHeader='ParentHeader1',***)&lt;/EM&gt;&lt;/STRONG&gt; I have all expressions on each of my horizontal dimension values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 14:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347526#M576471</guid>
      <dc:creator />
      <dc:date>2012-05-14T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347527#M576472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me on this 2 subjects above:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Incorrect expression values on my table&lt;/LI&gt;&lt;LI&gt;Super headers for specific expressions.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first point is the most important. I tried some formula but it doesn't fix it. Perhaps I use bad syntax?&lt;/P&gt;&lt;P&gt;My sum expression don't display the good result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 10:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347527#M576472</guid>
      <dc:creator />
      <dc:date>2012-05-16T10:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: total row aggregated over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347528#M576473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have finaly found a formula which give me the good result.&lt;/P&gt;&lt;P&gt;I don't know if there are better formulas to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I want my "total" Category field value remain when I do selection on the field Category (directly on the table or by a selection list)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the application attached here, I have two table (aggregate 1 &amp;amp; 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select Category values by the list, I have always the good total value on my table aggregate1, but not on the second, aggregate2. &lt;/P&gt;&lt;P&gt;If I select directly on the table aggregate1 dimension, I lose the total rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the second table I lose always the total values when I do selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me? I want the total row remain on my pivot when I select Category field values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 15:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-total-row-aggregated-over-dimension/m-p/347528#M576473</guid>
      <dc:creator />
      <dc:date>2012-05-16T15:31:40Z</dc:date>
    </item>
  </channel>
</rss>

