<?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: wrong calculations in table chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396959#M147862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attached. Let me know if that helps otherwise please provide me the sample data i can help you with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2012 17:51:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-09-11T17:51:55Z</dc:date>
    <item>
      <title>wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396955#M147858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys I am using the following script to create a table as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;BR /&gt;LOAD&lt;BR /&gt; %LeaseKey,&lt;BR /&gt; max([Expense Amount]) as MaxExpense&lt;BR /&gt;RESIDENT Expense&lt;BR /&gt;GROUP BY %LeaseKey;&lt;BR /&gt;LEFT JOIN (tmp) LOAD&lt;BR /&gt; %LeaseKey,&lt;BR /&gt; [Expense Frequency]&lt;BR /&gt;RESIDENT Expense;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;BR /&gt;LOAD&lt;BR /&gt; %LeaseKey,&lt;BR /&gt; MaxExpense,&lt;BR /&gt; MaxExpense * 12 as [Annuallized Cost]&lt;BR /&gt;RESIDENT tmp;&lt;/P&gt;&lt;P&gt;DROP TABLES Expense, tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result looks like the below when loaded into a table box. and it is correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%LeaseKey&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Expense Amount)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Annual Amount&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12000&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 625&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7500&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 400&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4800&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to build the same table into a table chart I get wrong nrs(away higher than what's above.)&lt;/P&gt;&lt;P&gt;I am assuming that I should get the same nrs as the table above.&lt;/P&gt;&lt;P&gt;Any suggestions on what's wrong!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 17:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396955#M147858</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-11T17:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396956#M147859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the result table you are multipling &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;MaxExpense by 12 to get Annual Cost. Not sure how you will get&amp;nbsp; Annual amount that much low.&lt;/SPAN&gt; Can you please give more detail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 17:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396956#M147859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-11T17:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396957#M147860</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;Sorry, I added the wrong cloumn above. it is added corectly to the discussion now.&lt;/P&gt;&lt;P&gt;So as you see the table has the right values and that's what i see inside a table box.&lt;/P&gt;&lt;P&gt;when I try to load the same field inside a Table chart and add the expression as Sum(Annual Amount) I get away higher nrs than this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 17:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396957#M147860</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-11T17:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396958#M147861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you try max. Here table chart means is that a striaght table or pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 17:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396958#M147861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-11T17:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396959#M147862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attached. Let me know if that helps otherwise please provide me the sample data i can help you with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 17:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396959#M147862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-11T17:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396960#M147863</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;Thank you for your reply.&lt;/P&gt;&lt;P&gt;The sample above is working correctly, and I have tried to load the table that I have into a new qvw and worked fine.&lt;/P&gt;&lt;P&gt;Now when I try to apply the calculations on the requiered qvw I get the wrong nrs.&lt;/P&gt;&lt;P&gt;Not sure what could effect the calculations.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs for your help.&lt;/P&gt;&lt;P&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 20:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396960#M147863</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-11T20:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396961#M147864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you let me know what kind of calculations you are applying . what output you need if you send me the sample document i can help you with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 20:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396961#M147864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-11T20:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396962#M147865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I couldent send the sample as the qvw is huge.&lt;/P&gt;&lt;P&gt;as i said above. when I load the table in the script and then create a table box and add the fields in it, everything looks fine.&lt;/P&gt;&lt;P&gt;when I add it into a straight table chart and the expression on it Sum(Annualized Cost) I get away higher values.&lt;/P&gt;&lt;P&gt;Attached is a sample of the table box as I se it on the qvw. I added it to a new qvw and everything worked normally. not sure what could be a reason on this qvw to make the nrs wrong.&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 20:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396962#M147865</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-11T20:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396963#M147866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attched is the sample application created with the data which you sent me. I used a straight table please have a look at that. if this does not work then you might forgot to implement any filters or set analysis which you are supposed to be doing in the expressions . If you can direcet me on that i can help you with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 21:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396963#M147866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-11T21:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396964#M147867</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;Thank you for the sample. As I said it is working normally on any other qvw as I have created a sample and looked exactly the same of what you just sent me.&lt;/P&gt;&lt;P&gt;Now when I do the exact same thing on the requiered qvw I get wrong nrs.&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 21:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396964#M147867</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-11T21:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396965#M147868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are this three colums independent of the columns present in your qvw . If there is a relation please provide me the other columns and small sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 21:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396965#M147868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-11T21:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396966#M147869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While loading the table, I am adding another field that is effecting the calculations.&lt;/P&gt;&lt;P&gt;I have removed it and everything is working normally.&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 21:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396966#M147869</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-11T21:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: wrong calculations in table chart</title>
      <link>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396967#M147870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no problem...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 21:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/wrong-calculations-in-table-chart/m-p/396967#M147870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-11T21:52:51Z</dc:date>
    </item>
  </channel>
</rss>

