<?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 Table Expression not totaling correctly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Expression-not-totaling-correctly/m-p/148206#M26530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg - The Quick and dirity fix works great. To improve preformance I will also check out your Wiki page and Set analysis. Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2009 00:44:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-02T00:44:32Z</dc:date>
    <item>
      <title>Pivot Table Expression not totaling correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Expression-not-totaling-correctly/m-p/148204#M26528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The pivot tabel has dimensions of Year and Period. The total does not add up to the amounts within each period. This is an example of the the experssion I am using &lt;B&gt;If&lt;/B&gt;(&lt;B&gt;[PERNUM]&lt;/B&gt;&amp;gt;=(&lt;B&gt;CURPER&lt;/B&gt;), &lt;B&gt;Sum&lt;/B&gt; (&lt;B&gt;CurFstDol&lt;/B&gt;),&lt;B&gt;Sum&lt;/B&gt; (&lt;B&gt;CURAMT&lt;/B&gt;)) . If I change the format to a straight table the total is correct. What am I missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 21:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Expression-not-totaling-correctly/m-p/148204#M26528</guid>
      <dc:creator />
      <dc:date>2009-07-01T21:03:14Z</dc:date>
    </item>
    <item>
      <title>Pivot Table Expression not totaling correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Expression-not-totaling-correctly/m-p/148205#M26529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the year level, your IF condition cannot be resolved properly, because there are multiple months [PERNUM] within the year.&lt;/P&gt;&lt;P&gt;Quick and dirty fix is to move your IF condition within the SUM (the expression becomes "heavier" in terms of memory use):&lt;/P&gt;&lt;P&gt;&lt;B&gt;Sum&lt;/B&gt; (&lt;B&gt;&lt;/B&gt;&lt;B&gt;If&lt;/B&gt;(&lt;B&gt;[PERNUM]&lt;/B&gt;&amp;gt;=(&lt;B&gt;CURPER&lt;/B&gt;), &lt;B&gt;CurFstDol&lt;/B&gt;, &lt;B&gt;&lt;/B&gt;&lt;B&gt;CURAMT&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;If you don't experience any performance slowdown, this would be enough. Otherwise, you might consider using flags (see my Wiki page about it) or Set Analysis.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Oleg&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 21:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Expression-not-totaling-correctly/m-p/148205#M26529</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-07-01T21:37:11Z</dc:date>
    </item>
    <item>
      <title>Pivot Table Expression not totaling correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Expression-not-totaling-correctly/m-p/148206#M26530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg - The Quick and dirity fix works great. To improve preformance I will also check out your Wiki page and Set analysis. Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 00:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Expression-not-totaling-correctly/m-p/148206#M26530</guid>
      <dc:creator />
      <dc:date>2009-07-02T00:44:32Z</dc:date>
    </item>
  </channel>
</rss>

