<?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 Pivot total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191442#M53520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try making your expression aggregatable:&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;sum&lt;/STRONG&gt;([Aantal] * [Kosten])&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Sep 2010 20:20:53 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2010-09-08T20:20:53Z</dc:date>
    <item>
      <title>Pivot total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191438#M53516</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;&lt;/P&gt;&lt;P&gt;I have a table like below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2314_sourceID:2314" /&gt;&lt;/P&gt;&lt;P&gt;Problem is that the totals of &lt;B&gt;Totaal (test)&lt;/B&gt; are not shown ... &lt;B&gt;Totaal (test)&lt;/B&gt; has the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;[Aantal] * [Kosten]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;When selecting for instance only one &lt;B&gt;Type&lt;/B&gt; the totals are shown correctly ... but for all Types it is not.&lt;/P&gt;&lt;P&gt;What am I missing here??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191438#M53516</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-07T15:24:06Z</dc:date>
    </item>
    <item>
      <title>Pivot total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191439#M53517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most likely, both of your other expressions - "Aatal" and "Kosten", have conditions that work for a single Type but cannot be resolved when multiple types are available.&lt;/P&gt;&lt;P&gt;For example something like this:&lt;/P&gt;&lt;P&gt;If (Type = 'Budget', .... , ....)&lt;/P&gt;&lt;P&gt;THis type of expression can't be resolved at the total level. The solution is to use advanced aggregation and first calculate the values for each Type and then summarize them:&lt;/P&gt;&lt;P&gt;expr. = sum(aggr( &amp;lt;my current expression&amp;gt;, Type))&lt;/P&gt;&lt;P&gt;This should work...&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 22:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191439#M53517</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-09-07T22:21:55Z</dc:date>
    </item>
    <item>
      <title>Pivot total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191440#M53518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might need to include all of the dimensions? Can't remember for sure. I guess if it doesn't work with just Type, add the others.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;sum(aggr(&amp;lt;my current expression&amp;gt;,"Aankoop / Huur","SC","Type"))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 00:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191440#M53518</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-08T00:06:47Z</dc:date>
    </item>
    <item>
      <title>Pivot total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191441#M53519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good point, I missed the other dimensions - you definitely need to list all the dimensions in the AGGR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 16:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191441#M53519</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-09-08T16:06:45Z</dc:date>
    </item>
    <item>
      <title>Pivot total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191442#M53520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try making your expression aggregatable:&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;sum&lt;/STRONG&gt;([Aantal] * [Kosten])&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 20:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191442#M53520</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-09-08T20:20:53Z</dc:date>
    </item>
    <item>
      <title>Pivot total</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191443#M53521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added this for both &lt;B&gt;Aantal&lt;/B&gt; and &lt;B&gt;Kosten&lt;/B&gt; ...&lt;/P&gt;&lt;P style="font-style: italic"&gt;sum(aggr(&amp;lt;my current expression&amp;gt;,"Aankoop / Huur","SC","Type"))&lt;/P&gt;&lt;P&gt;Did try some stuff with aggr, but didn't came up this idea so thx.&lt;/P&gt;&lt;P&gt;Just having &lt;I&gt;&lt;B&gt;sum(&amp;lt;Aantal expression&amp;gt;)&lt;/B&gt;&lt;/I&gt; didn't work ... but with aggr it works great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the problem now is that Kosten is also shown as total but shouldn't be a total ... but already working on that!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So thanx you both for giving me a clue &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 07:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-total/m-p/191443#M53521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-09T07:29:17Z</dc:date>
    </item>
  </channel>
</rss>

