<?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 Total formula not giving the result I want in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281021#M495296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hey David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, something wrong is there with your Data Model, Just check out the frequency of the Values in a list box.&lt;/P&gt;&lt;P&gt;It happens when you have a repeating value against a Dimension. Since Charts dont consider these repeating values due to improper linking in total,hence it will come accurate there.&lt;/P&gt;&lt;P&gt;But in text box it will consider all values including the repeating ones.&lt;/P&gt;&lt;P&gt;Case of repeating values , scenario would be like this:&lt;/P&gt;&lt;P&gt;Dimension&amp;nbsp;&amp;nbsp; Expression&lt;/P&gt;&lt;P&gt;10&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; 344&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chart will consider only one row, hence it will give correct total&lt;/P&gt;&lt;P&gt;10&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; 344&lt;/P&gt;&lt;P&gt;10&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; 344&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, Text Box will consider all the three rows in total.&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2012 12:19:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-14T12:19:00Z</dc:date>
    <item>
      <title>Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281016#M495291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble with totals. I have managed to get the correct total in a stragit table by using the Sum of Rows. However I want to repeat this total in a text box but I can only get the total that the straight table displays when expression total is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the sum of rows is doing something that I am missing from my formula in my text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Local Line Total Amount]&lt;/SPAN&gt;=0),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Local Budget Amount]&lt;/SPAN&gt;),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Local Item Extended Price]&lt;/SPAN&gt;))&amp;nbsp; this keeps giving me 6785530 but I know it should be 3210890&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the table with totals at the top. Clearly the first column is totalled incorrectly and the second is correct but my formula gives me the first total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="258"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" width="62"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl26" width="98"&gt;6785530&lt;/TD&gt;&lt;TD align="right" class="xl26" style="border-left: medium none;" width="98"&gt;3210890&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;15000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;15000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;18&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;210000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;210000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;32&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;2000000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;2000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;51&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;100000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;100000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;52&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;155100&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;155100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;65&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;44000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;44000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;72&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;200000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;200000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;76&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;41718&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;41718&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;78&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;27812&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;27812&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;86&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;2560&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;2560&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;89&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;45000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;45000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;90&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;61000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;61000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;91&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;84000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;28000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;92&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;30000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;30000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;94&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;40000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;20000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;106&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;67500&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;67500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;107&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;208000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;100000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;108&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;12000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;12000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;118&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;2300&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;1200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" style="border-top: medium none;"&gt;119&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;50000&lt;/TD&gt;&lt;TD align="right" class="xl27" style="border-top: medium none; border-left: medium none;"&gt;50000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Any ideas? Please.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 12:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281016#M495291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-14T12:00:34Z</dc:date>
    </item>
    <item>
      <title>Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281017#M495292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using advanced aggregation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Local Line Total Amount]&lt;/SPAN&gt;=0),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Local Budget Amount]&lt;/SPAN&gt;),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Local Item Extended Price]&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;, YOURTABLEDIMENSIONFIELD))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 12:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281017#M495292</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-14T12:05:12Z</dc:date>
    </item>
    <item>
      <title>Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281018#M495293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Change the option in the &lt;STRONG&gt;Expression tab&lt;/STRONG&gt; of the chart properties under the &lt;STRONG&gt;Total mode as Sum of rows.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 12:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281018#M495293</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-14T12:05:22Z</dc:date>
    </item>
    <item>
      <title>Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281019#M495294</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the diffrence i guess is because when you use some of rows&lt;/P&gt;&lt;P&gt;what happen is that you check the &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Local Line Total Amount]&lt;/SPAN&gt;=0) for every row so some get the first expression and some&amp;nbsp; the second&lt;/P&gt;&lt;P&gt;in the&amp;nbsp; expression total and the text&amp;nbsp; box the if clause is evaluated on all the&amp;nbsp; data once so i guess &lt;/P&gt;&lt;P&gt;it calculate sum(local Budget Amount) on all the data&lt;/P&gt;&lt;P&gt;you can change the formula to :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let say your dimension is Department_ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you can use&lt;/P&gt;&lt;P&gt;sum(aggr(&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Local Line Total Amount]&lt;/SPAN&gt;=0),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Local Budget Amount]&lt;/SPAN&gt;),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Local Item Extended Price]&lt;/SPAN&gt;)),Department_ID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 12:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281019#M495294</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2012-02-14T12:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281020#M495295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; See the attached file, Hope its helpful for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Iyyappan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 12:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281020#M495295</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2012-02-14T12:15:17Z</dc:date>
    </item>
    <item>
      <title>Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281021#M495296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hey David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, something wrong is there with your Data Model, Just check out the frequency of the Values in a list box.&lt;/P&gt;&lt;P&gt;It happens when you have a repeating value against a Dimension. Since Charts dont consider these repeating values due to improper linking in total,hence it will come accurate there.&lt;/P&gt;&lt;P&gt;But in text box it will consider all values including the repeating ones.&lt;/P&gt;&lt;P&gt;Case of repeating values , scenario would be like this:&lt;/P&gt;&lt;P&gt;Dimension&amp;nbsp;&amp;nbsp; Expression&lt;/P&gt;&lt;P&gt;10&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; 344&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chart will consider only one row, hence it will give correct total&lt;/P&gt;&lt;P&gt;10&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; 344&lt;/P&gt;&lt;P&gt;10&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; 344&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, Text Box will consider all the three rows in total.&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 12:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281021#M495296</guid>
      <dc:creator />
      <dc:date>2012-02-14T12:19:00Z</dc:date>
    </item>
    <item>
      <title>Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281022#M495297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Swuehl, this did exactly what I wanted! Many thanks, I thought it was maybe aggr but would have never got the syntax right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 13:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281022#M495297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-14T13:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281023#M495298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works! Many thanks, I would have never got the aggr in the right &lt;/P&gt;&lt;P&gt;place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David I Simpson&lt;/P&gt;&lt;P&gt;Business Intelligence and Data Director&lt;/P&gt;&lt;P&gt;InterfaceFLOR&lt;/P&gt;&lt;P&gt;Shelf Mills&lt;/P&gt;&lt;P&gt;Halifax&lt;/P&gt;&lt;P&gt;West Yorkshire HX3 7PA&lt;/P&gt;&lt;P&gt;United Kingdom&lt;/P&gt;&lt;P&gt;Tel: +44 (0) 1274 696063&lt;/P&gt;&lt;P&gt;Fax: +44 (0) 1274 696148&lt;/P&gt;&lt;P&gt;Mobile: +44 (0) 7803 246063&lt;/P&gt;&lt;P&gt;http://www.interfaceflor.eu&lt;/P&gt;&lt;P&gt;http://www.interfaceglobal.com &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface Europe Ltd, Registered in England No. 309779&lt;/P&gt;&lt;P&gt;Registered Office Shelf Mills, Halifax HX3 7PA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From:&lt;/P&gt;&lt;P&gt;swuehl &amp;lt;qliktech@sgaur.hosted.jivesoftware.com&amp;gt;&lt;/P&gt;&lt;P&gt;To:&lt;/P&gt;&lt;P&gt;DavidSimpson &amp;lt;dave.simpson@interfaceflor.eu&amp;gt;&lt;/P&gt;&lt;P&gt;Date:&lt;/P&gt;&lt;P&gt;14/02/2012 12:05&lt;/P&gt;&lt;P&gt;Subject:&lt;/P&gt;&lt;P&gt;&lt;A href="Development (QlikView Desktop)"&gt;&lt;/A&gt; - Re: Total formula not giving the result &lt;/P&gt;&lt;P&gt;I want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikCommunity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: Total formula not giving the result I want &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;created by swuehl in Development (QlikView Desktop) - View the full &lt;/P&gt;&lt;P&gt;discussion &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using advanced aggregation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(&lt;A href="Local Line Total Amount"&gt;&lt;/A&gt;=0),sum(&lt;A href="Local Budget Amount"&gt;&lt;/A&gt;),sum([Local &lt;/P&gt;&lt;P&gt;Item Extended Price]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;, YOURTABLEDIMENSIONFIELD))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply to this message by replying to this email -or- go to the message on &lt;/P&gt;&lt;P&gt;QlikCommunity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start a new discussion in Development (QlikView Desktop) by email or at &lt;/P&gt;&lt;P&gt;QlikCommunity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; © 1993-2011 QlikTech International AB      Copyright &amp;amp; Trademarks | &lt;/P&gt;&lt;P&gt;Privacy | Terms of Use | Software EULA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This message and any attachments may contain information that is privileged&lt;/P&gt;&lt;P&gt;and/or confidential and is the property of Interface. It is intended solely&lt;/P&gt;&lt;P&gt;for the person to whom it is addressed. If you are not the intended&lt;/P&gt;&lt;P&gt;recipient, you are hereby notified that you are not authorised to read,&lt;/P&gt;&lt;P&gt;print, retain, copy, disseminate, distribute, or use this message and any&lt;/P&gt;&lt;P&gt;attachments or any part thereof. If you have received this message in&lt;/P&gt;&lt;P&gt;error, please notify the sender immediately and delete the message and any&lt;/P&gt;&lt;P&gt;attachments from your system. http://www.interfaceglobal.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 13:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281023#M495298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-14T13:26:06Z</dc:date>
    </item>
    <item>
      <title>Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281024#M495299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Many thanks, this is just what I needed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 13:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281024#M495299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-14T13:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281025#M495300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, this is just what I needed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 13:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281025#M495300</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-14T13:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281026#M495301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this works perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 13:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281026#M495301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-14T13:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281027#M495302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for the reply - whilst you may well be correct about the data model the aggr function seems to have fixed my issue so I won't go looking for trouble by re-examing the data model. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 13:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281027#M495302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-14T13:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Total formula not giving the result I want</title>
      <link>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281028#M495303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply - whilst you may well be correct about the data model the aggr function seems to have fixed my issue so I won't go looking for trouble by re-examing the data model. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 13:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-formula-not-giving-the-result-I-want/m-p/281028#M495303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-14T13:42:39Z</dc:date>
    </item>
  </channel>
</rss>

