<?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 Bad total in straight table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235869#M87098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume there's some kind of if() statement or similar in the straight table expression. The total is evaluated on it's own and is not by default the "sum of rows" but is calculated like any other dimension and is almost certainly correct, just not what you expect in this case.&lt;/P&gt;&lt;P&gt;What I think you want to do is change the Total Mode under Chart Properties &amp;gt; Expressions to "Sum of Rows", which will give you the type of total you expect here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jul 2010 04:15:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-07-29T04:15:40Z</dc:date>
    <item>
      <title>Bad total in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235866#M87095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table that is displaying total at top. But when I add up the values of the 3 individual rows the total is off by 459,597,417. How can this be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From export to excel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 335pt;" width="447"&gt;&lt;COL style="width: 176pt;" width="235" /&gt;&lt;COL style="width: 159pt;" width="212" /&gt;&lt;TBODY&gt;&lt;TR height="18" style="height: 13.2pt;"&gt;&lt;TD class="xl63" height="18" style="height: 13.2pt; width: 176pt;" width="235"&gt;Test Groups&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; width: 159pt;" width="212"&gt;Counters&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.2pt;"&gt;&lt;TD class="xl64" height="18" style="height: 13.2pt; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;1,206,456,434&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.2pt;"&gt;&lt;TD class="xl66" height="18" style="height: 13.2pt; border-top: medium none;"&gt;Test Group 1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: medium none; border-left: medium none;"&gt;61,380,482&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.2pt;"&gt;&lt;TD class="xl66" height="18" style="height: 13.2pt; border-top: medium none;"&gt;Test Group 2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: medium none; border-left: medium none;"&gt;433,704,449&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.2pt;"&gt;&lt;TD class="xl66" height="18" style="height: 13.2pt; border-top: medium none;"&gt;Test Group 3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: medium none; border-left: medium none;"&gt;1,170,968,920&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.2pt;"&gt;&lt;TD class="xl68" height="18" style="height: 13.2pt; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl69" style="border-top: medium none; border-left: medium none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.2pt;"&gt;&lt;TD class="xl68" height="18" style="height: 13.2pt; border-top: medium none;"&gt;Sum()&lt;/TD&gt;&lt;TD class="xl69" style="border-top: medium none; border-left: medium none;"&gt;1,666,053,851&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.2pt;"&gt;&lt;TD class="xl66" height="18" style="height: 13.2pt; border-top: medium none;"&gt;Diff&lt;/TD&gt;&lt;TD class="xl70" style="border-top: medium none; border-left: medium none;"&gt;459,597,417&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 00:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235866#M87095</guid>
      <dc:creator />
      <dc:date>2010-07-28T00:03:54Z</dc:date>
    </item>
    <item>
      <title>Bad total in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235867#M87096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a Count Distinct? Is it possible that the counted elements appear in several Test Groups?&lt;/P&gt;&lt;P&gt;Take the following scenario: You have ONE customer that buys in TWO Stores. If you set up a straight table to count distinctly the Customers per Store, you will have two rows (1 per Store) and 1 customer on each row, but the total would still be ONE, because it is just ONE Customer.&lt;/P&gt;&lt;P&gt;If you want to make the total the sum of the results of every row (Sum of Rows), specify that in the Expressions tab (in the middle right).&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 00:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235867#M87096</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2010-07-28T00:14:09Z</dc:date>
    </item>
    <item>
      <title>Bad total in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235868#M87097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version are you on ?&lt;/P&gt;&lt;P&gt;ver 9 rel 3 had serious calculation problems&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 15:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235868#M87097</guid>
      <dc:creator />
      <dc:date>2010-07-28T15:06:56Z</dc:date>
    </item>
    <item>
      <title>Bad total in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235869#M87098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume there's some kind of if() statement or similar in the straight table expression. The total is evaluated on it's own and is not by default the "sum of rows" but is calculated like any other dimension and is almost certainly correct, just not what you expect in this case.&lt;/P&gt;&lt;P&gt;What I think you want to do is change the Total Mode under Chart Properties &amp;gt; Expressions to "Sum of Rows", which will give you the type of total you expect here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 04:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235869#M87098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-29T04:15:40Z</dc:date>
    </item>
    <item>
      <title>Bad total in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235870#M87099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chart Properties &amp;gt; Expressions to "Sum of Rows fixed things.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 17:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bad-total-in-straight-table/m-p/235870#M87099</guid>
      <dc:creator />
      <dc:date>2010-07-29T17:45:16Z</dc:date>
    </item>
  </channel>
</rss>

