<?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 Conditional subtotalling in pivot tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352607#M575150</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 am trying to only show the subtotal row when more than one row is being totalled – without losing the grant total. &lt;/P&gt;&lt;P&gt;In the example below only Stock Fin Group = MFB should be subtotalled,not all the others because they don’t have different colour combinations. &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;IMG alt="Capture.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/14268_Capture.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2012 15:28:39 GMT</pubDate>
    <dc:creator>jarno_loubser</dc:creator>
    <dc:date>2012-05-15T15:28:39Z</dc:date>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352607#M575150</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 am trying to only show the subtotal row when more than one row is being totalled – without losing the grant total. &lt;/P&gt;&lt;P&gt;In the example below only Stock Fin Group = MFB should be subtotalled,not all the others because they don’t have different colour combinations. &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;IMG alt="Capture.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/14268_Capture.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 15:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352607#M575150</guid>
      <dc:creator>jarno_loubser</dc:creator>
      <dc:date>2012-05-15T15:28:39Z</dc:date>
    </item>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352608#M575151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use dimensionality() to show/hide/highlight different levels of the data. Works perfectly in Pivot tables.&lt;/P&gt;&lt;P&gt;dimensionality() = 0 means top level: Grand Total at the bottom of the chart in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vladimir &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 16:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352608#M575151</guid>
      <dc:creator>vlad_komarov</dc:creator>
      <dc:date>2012-05-15T16:15:05Z</dc:date>
    </item>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352609#M575152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps I misunderstand, but Dimensionality will let my decide which expressions are subtotalled, but not which rows within an expression is subtotalled?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 16:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352609#M575152</guid>
      <dc:creator>jarno_loubser</dc:creator>
      <dc:date>2012-05-15T16:27:32Z</dc:date>
    </item>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352610#M575153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can suppress the undesired totals dynamically - it's "all or nothing".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would make a nice "Idea" for R&amp;amp;D...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's "mission critical", I suppose you could generate an artificial "Total" Color in your data model as another dimension value, and assign the subtotal of the other colors of the value, but this looks like way too much work for the sake of an improved presentation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 16:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352610#M575153</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2012-05-15T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352611#M575154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was suggesting to use dimensionality() in Text Color/Background Color of the Expression to hide numbers you do need to see. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 16:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352611#M575154</guid>
      <dc:creator>vlad_komarov</dc:creator>
      <dc:date>2012-05-15T16:38:17Z</dc:date>
    </item>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352612#M575155</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 think you could hide the unwanted totals by using Dimensionality to select the correct totals level and an expression to count the rows, setting the total to zero when there is only one row. Oh, and suppress zeroes. I have done something similar recently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 16:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352612#M575155</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-15T16:44:12Z</dc:date>
    </item>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352613#M575156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Johnothan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I played with using the noofrows() function and it does "find" the right records for me, but by setting the expression value to zero will I not effect the grant total? I'm only trying to suppress the subtotal (colour) row where n/a, but the grant total must include all values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 17:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352613#M575156</guid>
      <dc:creator>jarno_loubser</dc:creator>
      <dc:date>2012-05-15T17:03:19Z</dc:date>
    </item>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352614#M575157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In include a mockup of what I need...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/14279_Untitled.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 17:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352614#M575157</guid>
      <dc:creator>jarno_loubser</dc:creator>
      <dc:date>2012-05-15T17:27:50Z</dc:date>
    </item>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352615#M575158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jarno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pivot tables do not sum the rows, rather the expression is evaluated at a detail, subtotal or total level. So setting the subtotals to zero should not affect the total if the expression selects the correct level to set to zero. Assuming the subtotal is at level 2, then something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Dimensioanlity() &amp;lt;&amp;gt; 2, Sum(....), 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tip: I usually temporarily add a column with expression =Dimensionality() just to determine the correct dimenionality value to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 20:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352615#M575158</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-15T20:05:32Z</dc:date>
    </item>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352616#M575159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - Getting close now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;if(Dimensionality() = 0 or Dimensionality() = 1 or Dimensionality() = 3 or NoOfRows() &amp;gt; 1,&lt;/P&gt;&lt;P&gt;sum(.....,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to also suppress the 0 Subtotal rows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/14303_Capture.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 03:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352616#M575159</guid>
      <dc:creator>jarno_loubser</dc:creator>
      <dc:date>2012-05-16T03:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352617#M575160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case, enabling "suppress zero-values" suppressed the subtotals of the level1 dimensions that had no level2 values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 06:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352617#M575160</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-16T06:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352618#M575161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming that you have no other columns. If you do, then you need to ensure that they are also zero. Remember that suppress zeroes only works if all the expressions in the row are zero or null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 06:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352618#M575161</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-16T06:58:52Z</dc:date>
    </item>
    <item>
      <title>Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352619#M575162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok here is the best I could get. Not able to suppress the blank (0) rows, but good enough:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality() = 0 or Dimensionality() = 1 or Dimensionality() = 3 or NoOfRows() &amp;gt; 1,&lt;/P&gt;&lt;P&gt;sum(Amount,'') )&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/14712_Capture.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 13:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352619#M575162</guid>
      <dc:creator>jarno_loubser</dc:creator>
      <dc:date>2012-05-24T13:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352620#M575163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression returns an empty string for the totals. An empty string is &lt;EM&gt;not &lt;/EM&gt;suppressed, so it will display like your totals here. Make sure your expressions return 0 or null to be suppressed, and not an empty string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 14:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352620#M575163</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-24T14:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional subtotalling in pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352621#M575164</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 know that the empty string will not be suppressed, but the zero does not suppress and looks worse. Here it the model - perhaps you can see what is wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 05:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-subtotalling-in-pivot-tables/m-p/352621#M575164</guid>
      <dc:creator>jarno_loubser</dc:creator>
      <dc:date>2012-05-25T05:25:42Z</dc:date>
    </item>
  </channel>
</rss>

