<?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 Re: Issue with straight table total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375135#M139724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I see 765.5 as total when i export the data to excel and sum up the values.. but when i select the expression totla in the chart it shows me 775.5 as total at the same tome when i chnage the expression total to sum of rows it gives me 765.5. I am attaching the excel in which you could see the total mismatch.Please let me know if you need any info.. In the current estimate column&amp;nbsp; i use set analysis in order to create it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u so much for spending your time in order to help me with this issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Lavanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2012 05:49:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-02T05:49:48Z</dc:date>
    <item>
      <title>Issue with straight table total</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375127#M139716</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have an&amp;nbsp; straight table in which I have two two expressions for which i am showing the Total value on the top row.I see the Total as 775.5$ but when I export the excel and sum up the values I get 765.4$.. What could be the reason for this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions for this issue are appreciated..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2012 14:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375127#M139716</guid>
      <dc:creator />
      <dc:date>2012-06-30T14:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with straight table total</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375128#M139717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please change the total mode of your expression in the expression tab from 'Expression Total' to 'sum of rows' and check if this makes a difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2012 15:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375128#M139717</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-30T15:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with straight table total</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375129#M139718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference between Expression Total &amp;amp; Sum of Rows ? &lt;/P&gt;&lt;P&gt;Does sum of rows has any affect in Pivot table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read one post in another thread &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/216590" title="http://community.qlik.com/message/216590"&gt;http://community.qlik.com/message/216590&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;The difference in sum of rows and expression typically happens when you have something like a ratio (as in your example), that is not additive. For example, consider two data points: &lt;/EM&gt;&lt;EM&gt;1/3 and 2/3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;When added together you will get 1/2+2/3 = 1, but when calculated with the expression, you will get (1+2)/(3+3) = 1/2. The expression is mathematically "correct", and is not arithmetically the same as the sum of rows."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm nt able to understand this explanation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please throw some light on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2012 15:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375129#M139718</guid>
      <dc:creator />
      <dc:date>2012-06-30T15:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with straight table total</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375130#M139719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a data model like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TEST2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dim, Link&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A, 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;B, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;B, 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Link, TestValue&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1, 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3, 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you create a straight table chart with dimension Dim and expression sum(TestValue), you'll see the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression total will sum up the TestValues in global context, like in a text object, without using the dimension to group the results by. So it's just looking at the second table, and sum TestValue over the three records, this will return 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your table rows, the sums are to be calculated in the context of the dimension, so we need to follow Link to get the TestValues per Dim. This will give us 3 and 5 for the dimension values A and B. The sum of rows is 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get a similar issue also with a single table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dim, TestValue, TestValue2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A, 1, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;B, 2, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C, 3, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and calculating as expression sum(TestValue) / sum(TestValue2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression total will return 1 (six divided by six), while the sum of rows is 0.5 + 1 + 1.5 = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression total will not sum up the single rows, it will evaluate the expression in total or global context (no dimensions taken into account). If you need a sum of the rows, you'll need to change the total mode (for a pivot table, you can't change the total mode in the expression tab, but there is a workaround using advanced aggregation, look into using sum-of-rows in pivot tables using advanced aggregation in the Help).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2012 16:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375130#M139719</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-30T16:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with straight table total</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375131#M139720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The toal which is showing up when i set the total to expression total is correct i mean 775.5 but why do i get 765.5 when i sum up in the excel??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2012 16:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375131#M139720</guid>
      <dc:creator />
      <dc:date>2012-06-30T16:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with straight table total</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375132#M139721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are getting the same results for expression total and sum-of-rows total mode in your QV table, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how you checked that 775.5 is the 'correct' answer? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you maybe using some kind of rounding, i.e. is the precision of numbers different in your exported excel file than in the QV app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post a small sample app that demonstrate your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2012 16:36:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375132#M139721</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-30T16:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with straight table total</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375133#M139722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I put the same expression in text object it gives me 775.5 which is corect.. but why does that give 765.5 when i use the same in the straight table.. actually the data model is bit tough and due to security issues i could nt post d example &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2012 17:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375133#M139722</guid>
      <dc:creator />
      <dc:date>2012-06-30T17:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with straight table total</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375134#M139723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;...&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;but why does that give 765.5 when i use the same in the straight table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mean 765.5 as sum of rows in Excel? or do you see the value 765.5 now also in the straight table? I must admit I am a bit confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post the dimensions / expression you are using in the straight table? Are you using alternate states / dimension limits or some other non-default setting? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you at least try to explain your data model, as far as relevant to your chart object?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is really difficult to explain why you see some differences between Excel and your chart object with this little details given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2012 16:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375134#M139723</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-01T16:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with straight table total</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375135#M139724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I see 765.5 as total when i export the data to excel and sum up the values.. but when i select the expression totla in the chart it shows me 775.5 as total at the same tome when i chnage the expression total to sum of rows it gives me 765.5. I am attaching the excel in which you could see the total mismatch.Please let me know if you need any info.. In the current estimate column&amp;nbsp; i use set analysis in order to create it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u so much for spending your time in order to help me with this issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Lavanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 05:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375135#M139724</guid>
      <dc:creator />
      <dc:date>2012-07-02T05:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with straight table total</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375136#M139725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so you do see a difference between total modes sum-of-rows and expression total. And sum in excel equals the sum-of-rows. Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, I would try focusing on the difference between sum-of-rows and expression total, and not looking at excel files, since this is just adding more confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that your issue is due to your data model (in combination with the expression used), so without knowing any more details, I can't help you here. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 10:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-straight-table-total/m-p/375136#M139725</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-02T10:42:19Z</dc:date>
    </item>
  </channel>
</rss>

