<?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 of duplicate values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-duplicate-values/m-p/233678#M85208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anasb,&lt;/P&gt;&lt;P&gt;Here what you have to do is you just need to calculate the sum of amount by using "sum(distinct Amount)" . You are getting wrong aswer because all the sum is getting added if you do not use the distinct keyword. But the count function is working fine because you have distinct 4 numbers in you sum coloumn. Hope this helps you.&lt;/P&gt;&lt;P&gt;thanks .....Joseph&lt;IMG alt="Cool" src="http://community.qlik.com/emoticons/emotion-11.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 May 2010 16:42:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-06T16:42:43Z</dc:date>
    <item>
      <title>Sum of duplicate values</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-duplicate-values/m-p/233676#M85206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a problem on qlikview wich start giving me headache !!&lt;/P&gt;&lt;P&gt;Heres my table :&lt;/P&gt;&lt;P&gt;Seller Amount&lt;BR /&gt;A 121&lt;BR /&gt;A 121&lt;BR /&gt;A 121&lt;BR /&gt;B 541&lt;BR /&gt;B 630&lt;BR /&gt;C 841&lt;/P&gt;&lt;P&gt;When i do sum(Amount) = 2133 and count(Amount) = 4, wich is obviously wrong ....&lt;/P&gt;&lt;P&gt;What would be the solution for suming duplicate values ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many many thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 15:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-duplicate-values/m-p/233676#M85206</guid>
      <dc:creator />
      <dc:date>2010-05-06T15:34:34Z</dc:date>
    </item>
    <item>
      <title>Sum of duplicate values</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-duplicate-values/m-p/233677#M85207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure about results you mentioned? See enclosed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 15:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-duplicate-values/m-p/233677#M85207</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-05-06T15:44:31Z</dc:date>
    </item>
    <item>
      <title>Sum of duplicate values</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-duplicate-values/m-p/233678#M85208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anasb,&lt;/P&gt;&lt;P&gt;Here what you have to do is you just need to calculate the sum of amount by using "sum(distinct Amount)" . You are getting wrong aswer because all the sum is getting added if you do not use the distinct keyword. But the count function is working fine because you have distinct 4 numbers in you sum coloumn. Hope this helps you.&lt;/P&gt;&lt;P&gt;thanks .....Joseph&lt;IMG alt="Cool" src="http://community.qlik.com/emoticons/emotion-11.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 16:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-duplicate-values/m-p/233678#M85208</guid>
      <dc:creator />
      <dc:date>2010-05-06T16:42:43Z</dc:date>
    </item>
  </channel>
</rss>

