<?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: Fixing total in pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fixing-total-in-pivot/m-p/284657#M578354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Null() the total row dissapears but with a set analysis expression it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;if(Dimensionality()=0, &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; white-space: pre; background-color: #ffffff;"&gt;Sum({&amp;lt;Grupp={Net}&amp;gt;}Myfield))&lt;/SPAN&gt;, Sum(Myfield))&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2012 14:00:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-15T14:00:45Z</dc:date>
    <item>
      <title>Fixing total in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Fixing-total-in-pivot/m-p/284655#M578352</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 have a pivot chart where I show gross, refunds and net (with partial sums). No problem there.&lt;/P&gt;&lt;P&gt;As dimension I use Group which values are gross, refund and net. Net is calculated as gross - refund.&lt;/P&gt;&lt;P&gt;The problem occur when the grand total is calculated. I really just want to show the net.&lt;/P&gt;&lt;P&gt;Straight table is &lt;EM&gt;NOT&lt;/EM&gt; the answer, I have multiple dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found a solution where you create a assosiative table and somehow use that with aggregated values for dimension and then use the fact table for (pivot)total.&lt;/P&gt;&lt;P&gt;But I can't get it in my head how to create that table. What to use as key?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really would like to be able to control what goes in the, grand, total with set analysis or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 12:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fixing-total-in-pivot/m-p/284655#M578352</guid>
      <dc:creator />
      <dc:date>2012-02-15T12:05:17Z</dc:date>
    </item>
    <item>
      <title>Fixing total in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Fixing-total-in-pivot/m-p/284656#M578353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could using an If statement in your expression using the Dimensionality() function.&amp;nbsp; I believe that 0 is the grand total:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality()=0, Null(), Sum(Myfield))&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;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 12:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fixing-total-in-pivot/m-p/284656#M578353</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2012-02-15T12:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing total in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Fixing-total-in-pivot/m-p/284657#M578354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Null() the total row dissapears but with a set analysis expression it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;if(Dimensionality()=0, &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; white-space: pre; background-color: #ffffff;"&gt;Sum({&amp;lt;Grupp={Net}&amp;gt;}Myfield))&lt;/SPAN&gt;, Sum(Myfield))&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 14:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fixing-total-in-pivot/m-p/284657#M578354</guid>
      <dc:creator />
      <dc:date>2012-02-15T14:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing total in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Fixing-total-in-pivot/m-p/284658#M578355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, one issue is that if you do a selection (lets say Gross) the grand total still calculates according to set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I can solve that with another if that eliminate the grand total if any selection is made. The sub total is still there and that should be enaugh. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 14:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fixing-total-in-pivot/m-p/284658#M578355</guid>
      <dc:creator />
      <dc:date>2012-02-15T14:59:42Z</dc:date>
    </item>
  </channel>
</rss>

