<?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 not sub totalling properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-sub-totalling-properly/m-p/384465#M143614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;money(sum({&amp;lt;Scenario={'Budget'}&amp;gt;} Amount * If([ACSEGVAL01] &amp;gt;= 41000 and [ACSEGVAL01] &amp;lt;= 46500,-1,1)&amp;nbsp;&amp;nbsp; ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2012 14:17:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-05T14:17:03Z</dc:date>
    <item>
      <title>Pivot table not sub totalling properly</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-sub-totalling-properly/m-p/384463#M143612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue where a sub total in a pivot table isn't calculating properly and I'm not sure how to fix my expression. I have a calculated dimension and in the expression I need to turn a negative number into a positive for one of the dimensions. I've done this with the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([ACSEGVAL01] &amp;gt;= 41000 and [ACSEGVAL01] &amp;lt;= 46500, &lt;/P&gt;&lt;P&gt; money(sum({&amp;lt;Scenario={'Budget'}&amp;gt;} Amount)) * -1,&lt;/P&gt;&lt;P&gt; money(sum({&amp;lt;Scenario={'Budget'}&amp;gt;} Amount))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the "problem" dimension is expanded all the numbers are positive but the sub-total for this expression/dimension is still negative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how to resolve this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 13:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-sub-totalling-properly/m-p/384463#M143612</guid>
      <dc:creator />
      <dc:date>2012-09-05T13:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not sub totalling properly</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-sub-totalling-properly/m-p/384464#M143613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach yourapplication?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 14:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-sub-totalling-properly/m-p/384464#M143613</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-09-05T14:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not sub totalling properly</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-sub-totalling-properly/m-p/384465#M143614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;money(sum({&amp;lt;Scenario={'Budget'}&amp;gt;} Amount * If([ACSEGVAL01] &amp;gt;= 41000 and [ACSEGVAL01] &amp;lt;= 46500,-1,1)&amp;nbsp;&amp;nbsp; ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 14:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-sub-totalling-properly/m-p/384465#M143614</guid>
      <dc:creator />
      <dc:date>2012-09-05T14:17:03Z</dc:date>
    </item>
  </channel>
</rss>

