<?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 in Straight Table Double Counting Some Rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-in-Straight-Table-Double-Counting-Some-Rows/m-p/444055#M565142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I'm trying to do a sum of a dollar amount in a straight table but some rows are being counted twice.&amp;nbsp; If you look at the attached example, the row where the PARHrs are 1.3898 shows an amount of $112.20 in the table box but when I do Sum(PARAmt) in the straight table, a value of $224.40 is displayed.&amp;nbsp; This issue appears in a couple different places.&amp;nbsp; When I do a Sum(Distinct PARAmt) the true amount is displayed but I'm worried about this showing a smaller amount than expected under different scenarios.&amp;nbsp; Any insight into why the straight table would be doubling some of the values here would be greatly appreciated!&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2013 15:06:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-22T15:06:21Z</dc:date>
    <item>
      <title>Sum in Straight Table Double Counting Some Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-Straight-Table-Double-Counting-Some-Rows/m-p/444055#M565142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I'm trying to do a sum of a dollar amount in a straight table but some rows are being counted twice.&amp;nbsp; If you look at the attached example, the row where the PARHrs are 1.3898 shows an amount of $112.20 in the table box but when I do Sum(PARAmt) in the straight table, a value of $224.40 is displayed.&amp;nbsp; This issue appears in a couple different places.&amp;nbsp; When I do a Sum(Distinct PARAmt) the true amount is displayed but I'm worried about this showing a smaller amount than expected under different scenarios.&amp;nbsp; Any insight into why the straight table would be doubling some of the values here would be greatly appreciated!&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 15:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-Straight-Table-Double-Counting-Some-Rows/m-p/444055#M565142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-22T15:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Straight Table Double Counting Some Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-Straight-Table-Double-Counting-Some-Rows/m-p/444056#M565143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sending you the solution.&lt;/P&gt;&lt;P&gt;Aggregated by the correct field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't use sum(distinct Field), since values can be the same. Distinct is used for count, at least there is a special calculation you need to do, but normally that's wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example, see the totalizers are different but the total is the same. That means the sum and the total expression are matching, therefore, it is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 16:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-Straight-Table-Double-Counting-Some-Rows/m-p/444056#M565143</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2013-01-22T16:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Straight Table Double Counting Some Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-Straight-Table-Double-Counting-Some-Rows/m-p/444057#M565144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian, I think you forgot the attachment you referred to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 16:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-Straight-Table-Double-Counting-Some-Rows/m-p/444057#M565144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-22T16:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Straight Table Double Counting Some Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-Straight-Table-Double-Counting-Some-Rows/m-p/444058#M565145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it's to heavy and it took me out of the page.&lt;/P&gt;&lt;P&gt;Let me try that again...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 16:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-Straight-Table-Double-Counting-Some-Rows/m-p/444058#M565145</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2013-01-22T16:29:25Z</dc:date>
    </item>
  </channel>
</rss>

