<?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 Simple SUM() question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151299#M29174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any Idea why they not the same ? is it something to do with rounding ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2009 20:28:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-06T20:28:37Z</dc:date>
    <item>
      <title>Simple SUM() question</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151296#M29171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be a silly question but I was wondering,&lt;/P&gt;&lt;P&gt;Is there a difference between&lt;/P&gt;&lt;P&gt;Sum(A) + Sum(B)&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;SUM(A + B)&lt;/P&gt;&lt;P&gt;The result returned are the same, since I am dealing with +60M records I was wondering are there performance issues involved ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 19:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151296#M29171</guid>
      <dc:creator />
      <dc:date>2009-08-06T19:31:19Z</dc:date>
    </item>
    <item>
      <title>Simple SUM() question</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151297#M29172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not know the exact internal difference in the QlikView algorithms. but I'm almost sure that sum (A) + sum (B) returns the same thing than sum (A+B) in terms of results.&lt;/P&gt;&lt;P&gt;In terms of performance just try both solutions : load you 60 M of line.&lt;BR /&gt;Look the results in terms of RAMs and in terms of time and choose the best solution. You can use the QlikView Server Performance application (download it here &lt;A href="http://demo.qlik.com/"&gt;http://demo.qlik.com/&lt;/A&gt; ) to analyse the .mem files (you can create a .mem statistics files by clicking on settings / document properties / General / Memory settings button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 19:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151297#M29172</guid>
      <dc:creator />
      <dc:date>2009-08-06T19:56:23Z</dc:date>
    </item>
    <item>
      <title>Simple SUM() question</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151298#M29173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there could be a difference. It depends on your data.&lt;/P&gt;&lt;P&gt;See the screenshot.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 20:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151298#M29173</guid>
      <dc:creator />
      <dc:date>2009-08-06T20:00:10Z</dc:date>
    </item>
    <item>
      <title>Simple SUM() question</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151299#M29174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any Idea why they not the same ? is it something to do with rounding ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 20:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151299#M29174</guid>
      <dc:creator />
      <dc:date>2009-08-06T20:28:37Z</dc:date>
    </item>
    <item>
      <title>Simple SUM() question</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151300#M29175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This actually scares me a little bit. Mathematically there is no difference in the two methods, but the sample table you provided, there is quite a difference. I also show that there is some difference in the two methods, although I do not show as great of differences but at only 13 million lines. Here is my verification table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/6283.CropperCapture_5B00_37_5D00_.Bmp" /&gt;&lt;/P&gt;&lt;P&gt;I would love to see another example from another larger (50 million +) record data set. I would recommend sticking with Sum(A) + Sum(B) to be able to reconcile your results.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 20:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151300#M29175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-06T20:38:06Z</dc:date>
    </item>
    <item>
      <title>Simple SUM() question</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151301#M29176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in a straight table you are able to choose a &lt;B&gt;"Total Mode"&lt;/B&gt;. Unfortunately in a pivot table not.&lt;/P&gt;&lt;P&gt;So you have to be careful in writing your expressions.&lt;/P&gt;&lt;P&gt;"Expression Total" or "Sum of Rows" could be end in different results.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 21:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151301#M29176</guid>
      <dc:creator />
      <dc:date>2009-08-06T21:15:25Z</dc:date>
    </item>
    <item>
      <title>Simple SUM() question</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151302#M29177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Hi,&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;I have done the same as you with our data set, around 50M records. Like yourselves mine is slightly out, I have attributed this to rounding since one of the figures goes to 7 decimal places. With 50M records it was less than .5. I can't seem to work out how to paste picture so I can't show you the table !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2009 20:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-SUM-question/m-p/151302#M29177</guid>
      <dc:creator />
      <dc:date>2009-08-10T20:27:00Z</dc:date>
    </item>
  </channel>
</rss>

