<?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 returning correct result in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229249#M81199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Append in script ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Mix:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Load&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;[Part PK], &lt;P&gt;&lt;B&gt;//non unique&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Bin ID] &lt;B&gt;//unique&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Resident&lt;/B&gt; Stock;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Inner&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;Join&lt;/B&gt; &lt;B&gt;Load&lt;/B&gt; [Part PK], &lt;P&gt;&lt;B&gt;//unique&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Resident&lt;/B&gt; Parts;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jul 2010 08:44:18 GMT</pubDate>
    <dc:creator>llauses243</dc:creator>
    <dc:date>2010-07-23T08:44:18Z</dc:date>
    <item>
      <title>SUM not returning correct result</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229243#M81193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For the expression COP on the Summary chart the SUM Function does not seem to be returning the correct results?&lt;BR /&gt;I want the value 2004.7424 (this is worked out if you sum the cost field on the Detail table) but I am getting 314.3703 any ideas why this is?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 12:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229243#M81193</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2010-07-21T12:32:39Z</dc:date>
    </item>
    <item>
      <title>SUM not returning correct result</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229244#M81194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Expression - Total Mode&lt;/P&gt;&lt;P&gt;mark "Sum of rows"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 13:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229244#M81194</guid>
      <dc:creator />
      <dc:date>2010-07-21T13:25:13Z</dc:date>
    </item>
    <item>
      <title>SUM not returning correct result</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229245#M81195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;your sum(Cost) is returning the correct value. There is a problem in your detail sheet, values are repeating because of refrential integrity. Try to check the value of cost by putting it in a list box.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Shumail Hussain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 14:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229245#M81195</guid>
      <dc:creator>shumailh</dc:creator>
      <dc:date>2010-07-21T14:00:37Z</dc:date>
    </item>
    <item>
      <title>SUM not returning correct result</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229246#M81196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you suggest then? I take it there is no way round this, I had a look at Set Analysis but not sure this will work, this is how the data is I'm afraid as you can see yourself when u put it into a excel spreadsheet the total amount is 2004.7424 and Qlikview seems to only add the distinct values. Help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 14:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229246#M81196</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2010-07-21T14:33:24Z</dc:date>
    </item>
    <item>
      <title>SUM not returning correct result</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229247#M81197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The chart is only making use of the Parts table (at least for the dimension and the cost expression), and the total is indeed correct if you look at that table alone. You need to chnage the expressions and/or structure to get the result you want, but its getting late here now and I have to go, so I don't have a solution at hand for you.&lt;/P&gt;&lt;P&gt;Maybe someone else can suggest the way out.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 16:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229247#M81197</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-07-21T16:49:16Z</dc:date>
    </item>
    <item>
      <title>SUM not returning correct result</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229248#M81198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest way to resolve this issue is to de-normalize the data. sorry right now i dont know the way to resolve it at the current form of the data.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Shumail Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 17:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229248#M81198</guid>
      <dc:creator>shumailh</dc:creator>
      <dc:date>2010-07-21T17:00:19Z</dc:date>
    </item>
    <item>
      <title>SUM not returning correct result</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229249#M81199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Append in script ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Mix:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Load&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;[Part PK], &lt;P&gt;&lt;B&gt;//non unique&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Bin ID] &lt;B&gt;//unique&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Resident&lt;/B&gt; Stock;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Inner&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;Join&lt;/B&gt; &lt;B&gt;Load&lt;/B&gt; [Part PK], &lt;P&gt;&lt;B&gt;//unique&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Resident&lt;/B&gt; Parts;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 08:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229249#M81199</guid>
      <dc:creator>llauses243</dc:creator>
      <dc:date>2010-07-23T08:44:18Z</dc:date>
    </item>
    <item>
      <title>SUM not returning correct result</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229250#M81200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One approach is to aggregate the values over the unique identifier in the other table, [Bin ID], and change the expression to:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum(aggr(sum(Cost), [Bin ID]))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This should give you the requested value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 09:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229250#M81200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-23T09:16:12Z</dc:date>
    </item>
    <item>
      <title>SUM not returning correct result</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229251#M81201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Johannes, Your formula is returning nothing back?&lt;/P&gt;&lt;P&gt;LLauses, not sure what you mean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 09:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229251#M81201</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2010-07-23T09:43:26Z</dc:date>
    </item>
    <item>
      <title>SUM not returning correct result</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229252#M81202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Denwo,&lt;/P&gt;&lt;P&gt;Seems to work fine here. attached. see COP2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 09:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-not-returning-correct-result/m-p/229252#M81202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-23T09:46:52Z</dc:date>
    </item>
  </channel>
</rss>

