<?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 Rangesum with aggr function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rangesum-with-aggr-function/m-p/337423#M124420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should be possible, you want a sum of row? So try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;= sum( aggr( YourLengthyExpressionIncludingRangesums, YourPivottableDimensions))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A possible problem is that aggr() will not take notice of your sort order used in the pivot table, it will always use load order for your aggr() dimension values. When using aggr() in combination with a chart inter record function like above(), you need to consider this, i.e. you might need to align the load order of your dimensions field with the sort order you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2012 19:22:26 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-05-04T19:22:26Z</dc:date>
    <item>
      <title>Rangesum with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-aggr-function/m-p/337422#M124419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hellow Masters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use Aggr function in a expression with Rangesum like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeSum(Above(total sum({$&amp;lt;[Comision - Año]={$(=max(Año))}, [Comision - Division] = {'DIVISION I','DIVISION II','DIVISION III','DIVISION VII'}}&amp;gt;} [Comision - Ventas]),0,Rowno(total))) /&lt;/P&gt;&lt;P&gt;RangeSum(Above(total sum({$&amp;lt;[Comision - Año]={$(=max(Año))}&amp;gt;} [Comision - Ventas]),0,rowno(total)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression give me a % of sales, but I need totalize this %'s in the totalize line of pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Alot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 18:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-aggr-function/m-p/337422#M124419</guid>
      <dc:creator />
      <dc:date>2012-05-04T18:04:33Z</dc:date>
    </item>
    <item>
      <title>Rangesum with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-aggr-function/m-p/337423#M124420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should be possible, you want a sum of row? So try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;= sum( aggr( YourLengthyExpressionIncludingRangesums, YourPivottableDimensions))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A possible problem is that aggr() will not take notice of your sort order used in the pivot table, it will always use load order for your aggr() dimension values. When using aggr() in combination with a chart inter record function like above(), you need to consider this, i.e. you might need to align the load order of your dimensions field with the sort order you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 19:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-aggr-function/m-p/337423#M124420</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-04T19:22:26Z</dc:date>
    </item>
  </channel>
</rss>

