<?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 Aggr &amp; Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-Aggr-Total/m-p/1156375#M377199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to compare relative sales, but total sales doesn't seem to ignore any selections. &lt;/P&gt;&lt;P&gt;Sum(Aggr(Sales, Product, Country))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Sum({1} TOTAL Aggr(Sales, Product, Country))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jun 2016 18:23:19 GMT</pubDate>
    <dc:creator>jdmarlin</dc:creator>
    <dc:date>2016-06-20T18:23:19Z</dc:date>
    <item>
      <title>Sum Aggr &amp; Total</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Aggr-Total/m-p/1156375#M377199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to compare relative sales, but total sales doesn't seem to ignore any selections. &lt;/P&gt;&lt;P&gt;Sum(Aggr(Sales, Product, Country))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Sum({1} TOTAL Aggr(Sales, Product, Country))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 18:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Aggr-Total/m-p/1156375#M377199</guid>
      <dc:creator>jdmarlin</dc:creator>
      <dc:date>2016-06-20T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Aggr &amp; Total</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Aggr-Total/m-p/1156376#M377200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working from the inside out in the bottom "total" expression, you start with aggr(Sales, Product, Country). Sales here is interpreted as only(Sales), which is an aggregation expression, one to which you've applied no set analysis at all, and so the selections affect it. So at a minimum, change that part to aggr(only({1} Sales), Product, Country), though you may want to instead aggr(sum({1} Sales), Product, Country).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 18:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Aggr-Total/m-p/1156376#M377200</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-06-20T18:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Aggr &amp; Total</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Aggr-Total/m-p/1156377#M377201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming this is a chart with Product and Country as dimensions, though, perhaps simplify to something like this. I'm not sure why you're doing an aggr(). Pivot table, maybe?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum(Sales)/sum({1} total Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 18:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Aggr-Total/m-p/1156377#M377201</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-06-20T18:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Aggr &amp; Total</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Aggr-Total/m-p/1156378#M377202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( Total &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sales, Product, Country&lt;/SPAN&gt;&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;Sales&lt;/SPAN&gt;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 05:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Aggr-Total/m-p/1156378#M377202</guid>
      <dc:creator>navaskhan</dc:creator>
      <dc:date>2016-08-18T05:47:48Z</dc:date>
    </item>
  </channel>
</rss>

