<?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 total regardless of selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-total-regardless-of-selection/m-p/191224#M53387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the problem, added a simple if statement to fix it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if(sum(Amount)=0,0,sum({1} total &amp;lt;[Cost Centre]&amp;gt; Amount))&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Sep 2009 17:47:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-18T17:47:00Z</dc:date>
    <item>
      <title>sum total regardless of selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-total-regardless-of-selection/m-p/191221#M53384</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;Cost Centre Sub Cost Centre Amount&lt;/P&gt;&lt;P&gt;10000 10000_XX 500&lt;/P&gt;&lt;P&gt;10000 10000_XY 500&lt;/P&gt;&lt;P&gt;10000 10000_XZ 500&lt;/P&gt;&lt;P&gt;20000 20000_XX 500&lt;/P&gt;&lt;P&gt;20000 20000_XY 500&lt;/P&gt;&lt;P&gt;20000 20000_XZ 500&lt;/P&gt;&lt;P&gt;Given a table like the above I need to add a column that will give me the total of Cost Centre for each line the cost centre appears on so for the above I would have 1500 for each line of 10000.&lt;/P&gt;&lt;P&gt;But there's a catch! I know I could use aggr to do this, however, there are other selections in list boxes external to this straight table that could restrict the list so that e.g. only 10000 sub cost centres XX and XY would appear, I need the column to still show 1500, I've found using aggr the total changes to 1000.&lt;/P&gt;&lt;P&gt;I've tried using set analysis but can't get it to work - this is what I tried:&lt;/P&gt;&lt;P&gt;=sum(total {$&amp;lt;[Cost Centre] = {[Cost Centre}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 15:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-total-regardless-of-selection/m-p/191221#M53384</guid>
      <dc:creator />
      <dc:date>2009-09-18T15:31:53Z</dc:date>
    </item>
    <item>
      <title>sum total regardless of selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-total-regardless-of-selection/m-p/191222#M53385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;sum({1} total &amp;lt;[Cost Centre] &amp;gt; Amount)&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 17:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-total-regardless-of-selection/m-p/191222#M53385</guid>
      <dc:creator />
      <dc:date>2009-09-18T17:22:37Z</dc:date>
    </item>
    <item>
      <title>sum total regardless of selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-total-regardless-of-selection/m-p/191223#M53386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Richy. That nearly works, it gives me the total regarless of selection but when you select a cost centre it removes the Amounts from other rows but the rows remain? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 17:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-total-regardless-of-selection/m-p/191223#M53386</guid>
      <dc:creator />
      <dc:date>2009-09-18T17:34:07Z</dc:date>
    </item>
    <item>
      <title>sum total regardless of selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-total-regardless-of-selection/m-p/191224#M53387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the problem, added a simple if statement to fix it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if(sum(Amount)=0,0,sum({1} total &amp;lt;[Cost Centre]&amp;gt; Amount))&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 17:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-total-regardless-of-selection/m-p/191224#M53387</guid>
      <dc:creator />
      <dc:date>2009-09-18T17:47:00Z</dc:date>
    </item>
  </channel>
</rss>

