<?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 Not getting the correct sum figure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230353#M82183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Could you pls explain how to include the duplicates in the calculation...&lt;/P&gt;&lt;P&gt;I have the field with 200,200,200,300&lt;/P&gt;&lt;P&gt;here 200 is repeated 3 times...&lt;/P&gt;&lt;P&gt;but wen i do the calculation it will take only one..&lt;/P&gt;&lt;P&gt;how to include all the values...&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Oct 2010 06:04:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-07T06:04:59Z</dc:date>
    <item>
      <title>Not getting the correct sum figure</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230349#M82179</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 1672.80 (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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 23:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230349#M82179</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2010-10-06T23:32:17Z</dc:date>
    </item>
    <item>
      <title>Not getting the correct sum figure</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230350#M82180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The sum function is correct. If you create a simple Table box with fields Part Group and cost then you can see that the Sum(Cost) is correct. There maybe some other problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 23:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230350#M82180</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-10-06T23:56:23Z</dc:date>
    </item>
    <item>
      <title>Not getting the correct sum figure</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230351#M82181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's because you have multiple records for the same PartPK in Stock table compare to the Parts table.&lt;/P&gt;&lt;P&gt;For example for for PartPK = tree_COR36L8681 you have 7 records in Stock table and 1 record in Parts table. The chart is considering only 1 occurrence of this value.&lt;/P&gt;&lt;P&gt;It seems, to me, that you need to multiple the cost with some kind of Quantity field from Stock. So it would be that you are getting the cost from Parts table and then multiplying with Quantity from Stock table, so it will give you the value you need.&lt;/P&gt;&lt;P&gt;I tried with multiplying with "Quantity On Hand Usable" and it seems to be giving pretty close results to what you are looking for. Try changing expression to SUM(Cost * [Quantity On Hand Usable]) and you will see the results. Make sure to pick the right field for this quantity multiplication.&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 00:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230351#M82181</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-10-07T00:05:09Z</dc:date>
    </item>
    <item>
      <title>Not getting the correct sum figure</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230352#M82182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;Excelent explain, i does attach .qvw for find duplicates (in all fields of records), this case is typical ¡¡&lt;/P&gt;&lt;P&gt;For NOT omit records duplicates on accounting if exists key duplicates to use RowNo()&lt;/P&gt;&lt;P&gt;good luck, Luis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 01:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230352#M82182</guid>
      <dc:creator>llauses243</dc:creator>
      <dc:date>2010-10-07T01:22:04Z</dc:date>
    </item>
    <item>
      <title>Not getting the correct sum figure</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230353#M82183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Could you pls explain how to include the duplicates in the calculation...&lt;/P&gt;&lt;P&gt;I have the field with 200,200,200,300&lt;/P&gt;&lt;P&gt;here 200 is repeated 3 times...&lt;/P&gt;&lt;P&gt;but wen i do the calculation it will take only one..&lt;/P&gt;&lt;P&gt;how to include all the values...&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 06:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230353#M82183</guid>
      <dc:creator />
      <dc:date>2010-10-07T06:04:59Z</dc:date>
    </item>
    <item>
      <title>Not getting the correct sum figure</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230354#M82184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone got any other ideas? I tried SUM(Cost * [Quantity On Hand Usable]) but it is not giving me the result I want? &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 09:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230354#M82184</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2010-10-07T09:35:33Z</dc:date>
    </item>
    <item>
      <title>Not getting the correct sum figure</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230355#M82185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now works I have used this formula &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;sum&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;(&lt;B&gt;aggr&lt;/B&gt;(&lt;B&gt;sum&lt;/B&gt;(&lt;B&gt;Cost&lt;/B&gt;), &lt;B&gt;[Bin ID]&lt;/B&gt;,&lt;B&gt;Location&lt;/B&gt;,&lt;B&gt;[Location Description]&lt;/B&gt;,&lt;B&gt;[Part ID]&lt;/B&gt;,&lt;B&gt;PlaceId&lt;/B&gt;)) &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 11:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-the-correct-sum-figure/m-p/230355#M82185</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2010-10-07T11:16:26Z</dc:date>
    </item>
  </channel>
</rss>

