<?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: What is the difference between AGGR and TOTAL function? I have run some tests and can't tell the difference in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983399#M335669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Aggr&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt; is a function&lt;/SPAN&gt; than can be used to create advanced aggregations that must include aggregation functions as expresssions and allows you to nest these aggregations - hence the name advance aggregation function. Aggr in itself is not an aggregation but it will need an aggregation function to be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Total&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt; is a qualifier&lt;/SPAN&gt; that prefixes the Set Expression and the Field within an aggregation function. It is not a function in itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr can be used to achieve the same effect as using the Total qualifier as you have experienced. But in these cases one should not use the Aggr-function but the Total qualifier. Aggr has uses that are impossible to get by using the Total qualifier in a "normal" aggregation function. Specifically this is the nested aggregations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 14:47:32 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2015-08-24T14:47:32Z</dc:date>
    <item>
      <title>What is the difference between AGGR and TOTAL function? I have run some tests and can't tell the difference</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983396#M335666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to understand the difference between TOTAL function and AGGR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached app I have run numerous tests by breaking down how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appear to get the same results using TOTAL and AGGR when I add a dimension to the TOTAL field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do they do the same thing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand from reading some other threads here that TOTAL works faster than AGGR but other than that I cannot tell the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help explain more? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983396#M335666</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-08-24T14:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between AGGR and TOTAL function? I have run some tests and can't tell the difference</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983397#M335667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Total isn't a function it's an extension for the expression to ignore all or &amp;lt;Certain Dimensions&amp;gt;. In opposite creates aggr() a virtual table and the expressions will be then applied against these table, see also: &lt;A href="https://community.qlik.com/qlik-blogpost/2967"&gt;AGGR...&lt;/A&gt; and of course there could be big performance differences therefore read &lt;A href="https://community.qlik.com/qlik-blogpost/2980"&gt;When should the Aggr() function NOT be used?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983397#M335667</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-24T14:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between AGGR and TOTAL function? I have run some tests and can't tell the difference</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983398#M335668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So TOTAL works faster than AGGR is the difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example both would produce exactly the same results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr seems to be like doing a sub-select in the SQL world where I might want to aggregate using a different dimension to the one in the chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983398#M335668</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-08-24T14:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between AGGR and TOTAL function? I have run some tests and can't tell the difference</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983399#M335669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Aggr&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt; is a function&lt;/SPAN&gt; than can be used to create advanced aggregations that must include aggregation functions as expresssions and allows you to nest these aggregations - hence the name advance aggregation function. Aggr in itself is not an aggregation but it will need an aggregation function to be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Total&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt; is a qualifier&lt;/SPAN&gt; that prefixes the Set Expression and the Field within an aggregation function. It is not a function in itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr can be used to achieve the same effect as using the Total qualifier as you have experienced. But in these cases one should not use the Aggr-function but the Total qualifier. Aggr has uses that are impossible to get by using the Total qualifier in a "normal" aggregation function. Specifically this is the nested aggregations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983399#M335669</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-08-24T14:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between AGGR and TOTAL function? I have run some tests and can't tell the difference</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983400#M335670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If both expressions return the same value you shouldn't use the aggr() - see the posting from above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 15:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-difference-between-AGGR-and-TOTAL-function-I-have/m-p/983400#M335670</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-24T15:00:16Z</dc:date>
    </item>
  </channel>
</rss>

