<?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 AVG Aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AVG-Aggregation/m-p/195506#M55972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use expression charts, you can calculat a total of sum rows!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;aggr ( [ distinct | nodistinct ] [{set_expression}] expression {, dimension} )&lt;/H4&gt;&lt;P&gt;Returns a set of values of expression calculated over dimensions. The result can be compared to the expression column of a 'local chart', evaluated in the context where the aggr function resides. Each dimension must be a single field. It cannot be an expression (calculated dimension).&lt;/P&gt;&lt;P&gt;If the expression argument is preceded by the nodistinct qualifier, each combination of dimension values may generate more than one return value, depending on underlying data structure. If the expression argument is preceded by the distinct qualifier or if no qualifier is used at all, each combination of dimension values will generate only one return value.&lt;/P&gt;&lt;P&gt;By default, the aggregation function will aggregate over the set of possible records defined by the selection. An alternative set of records can be defined by a &lt;A&gt;set&lt;/A&gt; expression.&lt;/P&gt;&lt;P&gt;By using this function in &lt;A&gt;calculated dimensions&lt;/A&gt; it is possible to achieve nested chart aggregation in multiple levels. See also &lt;A&gt;Nested aggregation and related issues&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;When used in chart expressions it is possible to achieve &lt;A&gt;sum-of-rows totals in a pivot table&lt;/A&gt;.&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P&gt;aggr( sum(Sales), Country )&lt;/P&gt;&lt;P&gt;aggr( nodistinct sum(Sales), Country )&lt;/P&gt;&lt;P&gt;aggr( sum(Sales), Country, Region )&lt;/P&gt;&lt;P&gt;count( aggr( sum(Sales), Country ))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Sep 2010 18:08:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-09T18:08:10Z</dc:date>
    <item>
      <title>AVG Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-Aggregation/m-p/195505#M55971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;What is the rule or the function of AVG agregation?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 17:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-Aggregation/m-p/195505#M55971</guid>
      <dc:creator />
      <dc:date>2010-09-09T17:21:00Z</dc:date>
    </item>
    <item>
      <title>AVG Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-Aggregation/m-p/195506#M55972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use expression charts, you can calculat a total of sum rows!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;aggr ( [ distinct | nodistinct ] [{set_expression}] expression {, dimension} )&lt;/H4&gt;&lt;P&gt;Returns a set of values of expression calculated over dimensions. The result can be compared to the expression column of a 'local chart', evaluated in the context where the aggr function resides. Each dimension must be a single field. It cannot be an expression (calculated dimension).&lt;/P&gt;&lt;P&gt;If the expression argument is preceded by the nodistinct qualifier, each combination of dimension values may generate more than one return value, depending on underlying data structure. If the expression argument is preceded by the distinct qualifier or if no qualifier is used at all, each combination of dimension values will generate only one return value.&lt;/P&gt;&lt;P&gt;By default, the aggregation function will aggregate over the set of possible records defined by the selection. An alternative set of records can be defined by a &lt;A&gt;set&lt;/A&gt; expression.&lt;/P&gt;&lt;P&gt;By using this function in &lt;A&gt;calculated dimensions&lt;/A&gt; it is possible to achieve nested chart aggregation in multiple levels. See also &lt;A&gt;Nested aggregation and related issues&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;When used in chart expressions it is possible to achieve &lt;A&gt;sum-of-rows totals in a pivot table&lt;/A&gt;.&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P&gt;aggr( sum(Sales), Country )&lt;/P&gt;&lt;P&gt;aggr( nodistinct sum(Sales), Country )&lt;/P&gt;&lt;P&gt;aggr( sum(Sales), Country, Region )&lt;/P&gt;&lt;P&gt;count( aggr( sum(Sales), Country ))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 18:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-Aggregation/m-p/195506#M55972</guid>
      <dc:creator />
      <dc:date>2010-09-09T18:08:10Z</dc:date>
    </item>
  </channel>
</rss>

