<?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 Sum not calculating correctly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226019#M78262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Feb 2011 09:52:50 GMT</pubDate>
    <dc:creator>ivandrago</dc:creator>
    <dc:date>2011-02-23T09:52:50Z</dc:date>
    <item>
      <title>Sum not calculating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226018#M78261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to do a sum calculation but the figure is not showing to what it should be, I want it to be £1, 612, 536.42 but it showing as £1, 414, 607.77, I tried to do the formula in the text box underneath "Total RRP CORRECT" but it does not seem to work? Also will I need to change the different charts with the new formula as they are using seperate dimension when clicking on the relevant buttons on the side?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 67pt; border-collapse: collapse;" width="89"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 67pt; mso-width-source: userset; mso-width-alt: 3254; mso-outline-parent: collapsed;" width="89" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl63" height="17" style="background-color: transparent; width: 67pt; height: 12.75pt; border: #ece9d8;" width="89"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 00:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226018#M78261</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-02-23T00:17:38Z</dc:date>
    </item>
    <item>
      <title>Sum not calculating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226019#M78262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 09:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226019#M78262</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-02-23T09:52:50Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Sum not calculating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226020#M78263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;I wonder about the DISTINCT in your formula. What is the reason for it? A Sum(Distinct...) will only sum up a certain value once and that may be the reason why you see a different total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Cust A 5&lt;/P&gt;&lt;P&gt;Cust B 5&lt;/P&gt;&lt;P&gt;You would expect a total of 10, but as they have both the same value, it will be summed only once and return a total of 5. I hope that helps to give you the right idea...&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 10:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226020#M78263</guid>
      <dc:creator />
      <dc:date>2011-02-23T10:03:05Z</dc:date>
    </item>
    <item>
      <title>Sum not calculating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226021#M78264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove Distinct From Expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 10:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226021#M78264</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-23T10:20:40Z</dc:date>
    </item>
    <item>
      <title>Sum not calculating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226022#M78265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have sorted the formula now, but something wierd is happening! When I click on Person 131 it shows the following figures in the Straight table which are correct as :&lt;/P&gt;&lt;P&gt;Total RRP - £648,703.79&lt;/P&gt;&lt;P&gt;Total Mar - £38,257.82&lt;/P&gt;&lt;P&gt;Total Comm - £86.19&lt;/P&gt;&lt;P&gt;% Diff - 0.23%&lt;/P&gt;&lt;P&gt;But when I have no filter on, Person 131 is showing the incorrect figures as&lt;/P&gt;&lt;P&gt;Total RRP - £24,697.18&lt;/P&gt;&lt;P&gt;Total Mar - £564.18&lt;/P&gt;&lt;P&gt;Total Comm - £86.19&lt;/P&gt;&lt;P&gt;% Diff - 15.28%&lt;/P&gt;&lt;P&gt;Any ideas why it would do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 10:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226022#M78265</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-02-23T10:50:00Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Sum not calculating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226023#M78266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;this is because you need to have the Person's name in your aggregation field list as well. If you add it, the result will be correct:&lt;/P&gt;&lt;P style="font-style: italic"&gt;Sum(Aggr(Distinct RRP,&lt;B&gt;[Person Name]&lt;/B&gt;, ID,[ID Line No]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 11:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226023#M78266</guid>
      <dc:creator />
      <dc:date>2011-02-23T11:06:02Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Sum not calculating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226024#M78267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;I have added that now and seems tobe working!! Thanks! But the Total on the chart for Total RRP is showing as £15,927,116.17 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 11:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226024#M78267</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2011-02-23T11:48:05Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Re: Sum not calculating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226025#M78268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;yes, summing up the sales reps makes 15m. The 1.6m comes from a DISTINCT on RRP and as explained before, that does not sum up double values. I saw some of the reps have the same result, but those won't be summed up as long as you have a DISTINCT with the value field.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 20:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-not-calculating-correctly/m-p/226025#M78268</guid>
      <dc:creator />
      <dc:date>2011-02-25T20:13:52Z</dc:date>
    </item>
  </channel>
</rss>

