<?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: how to make absolute sum? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-make-absolute-sum/m-p/427801#M489983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, i got the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calcutlation was doing the sum of the gap in each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if we are doing it like this fabs( sum (a - b)&amp;nbsp; ) , the total value will still take the minus sign into the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, this &lt;STRONG&gt;sum( fabs( a - b ) )&lt;/STRONG&gt; , will fix the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2012 16:22:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-14T16:22:17Z</dc:date>
    <item>
      <title>how to make absolute sum?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-make-absolute-sum/m-p/427800#M489982</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'm doing fabs(sum(a) - sum(b)) , in a pivot table.&lt;/P&gt;&lt;P&gt;by row, the calculation is good. all figures are in positive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, the partial total in pivot is not good, it still do the sum according to the original negative values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any helps please...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 09:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-make-absolute-sum/m-p/427800#M489982</guid>
      <dc:creator />
      <dc:date>2012-11-13T09:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to make absolute sum?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-make-absolute-sum/m-p/427801#M489983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, i got the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calcutlation was doing the sum of the gap in each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if we are doing it like this fabs( sum (a - b)&amp;nbsp; ) , the total value will still take the minus sign into the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, this &lt;STRONG&gt;sum( fabs( a - b ) )&lt;/STRONG&gt; , will fix the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 16:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-make-absolute-sum/m-p/427801#M489983</guid>
      <dc:creator />
      <dc:date>2012-11-14T16:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to make absolute sum?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-make-absolute-sum/m-p/427802#M489984</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;This will work only if you have one a and b value for each of your dimension values.&lt;/P&gt;&lt;P&gt;More common solution is:&lt;/P&gt;&lt;P&gt;=sum(aggr(fabs(sum(a)-sum(b)), Dimesnion)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 18:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-make-absolute-sum/m-p/427802#M489984</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-11-14T18:11:09Z</dc:date>
    </item>
  </channel>
</rss>

