<?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: Agg &amp; total function difference plz give with exaple . in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Agg-total-function-difference-plz-give-with-exaple/m-p/1007460#M974174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From Reference manual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;aggr (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[ &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;nodistinct&lt;/SPAN&gt; ] [{set_expression}]expression {, dimension}&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Returns a set of values of &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; calculated over &lt;SPAN style="font-style: italic;"&gt;dimensions&lt;/SPAN&gt;. The result can be compared to the expression column of a 'local chart', evaluated in the context where the &lt;SPAN class="Bold"&gt;aggr&lt;/SPAN&gt; function resides. Each &lt;SPAN class="Italic"&gt;dimension&lt;/SPAN&gt; must be a single field. It cannot be an expression (calculated dimension).&lt;/P&gt;&lt;P&gt;If the &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; argument is preceded by the &lt;SPAN class="Bold"&gt;nodistinct&lt;/SPAN&gt; qualifier, each combination of dimension values may generate more than one return value, depending on underlying data structure. If the &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; argument is preceded by the &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; 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 class="xref_1"&gt;&lt;EM&gt;Set Analysis&lt;/EM&gt;&lt;/A&gt; expression.&lt;/P&gt;&lt;P&gt;By using this function in &lt;A class="xref_1"&gt;&lt;EM&gt;Add calculated dimension... &lt;/EM&gt;&lt;/A&gt;it is possible to achieve nested chart aggregation in multiple levels. See also &lt;A class="xref_1"&gt;&lt;EM&gt;Nested Aggregations and Related Issues&lt;/EM&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;When used in chart expressions it is possible to achieve &lt;A class="MCXref_0" target="" title=""&gt;&lt;EM&gt;Sum of Rows in Pivot Tables&lt;/EM&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;aggr( sum(Sales), Country )&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P class="Code"&gt;aggr( nodistinct sum(Sales), Country )&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P class="Code"&gt;aggr( sum(Sales), Country, Region )&lt;/P&gt;&lt;P class="Code"&gt;count( aggr( sum(Sales), Country ))&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;TOTAL&lt;/P&gt;&lt;P class="Code"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4160"&gt;What does the TOTAL qualifier do?&lt;/A&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;A href="https://community.qlik.com/thread/111805"&gt;Total qualifier&lt;/A&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Also read&lt;/P&gt;&lt;P class="Code"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3285"&gt;The Aggregation Scope&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2015 19:16:34 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-09-09T19:16:34Z</dc:date>
    <item>
      <title>Agg &amp; total function difference plz give with exaple .</title>
      <link>https://community.qlik.com/t5/QlikView/Agg-total-function-difference-plz-give-with-exaple/m-p/1007459#M974173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends this is babu plz help me this,&lt;/P&gt;&lt;P&gt;Agg &amp;amp; total function difference plz give with exaple .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me friends&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 19:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Agg-total-function-difference-plz-give-with-exaple/m-p/1007459#M974173</guid>
      <dc:creator />
      <dc:date>2015-09-09T19:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Agg &amp; total function difference plz give with exaple .</title>
      <link>https://community.qlik.com/t5/QlikView/Agg-total-function-difference-plz-give-with-exaple/m-p/1007460#M974174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From Reference manual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;aggr (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[ &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;nodistinct&lt;/SPAN&gt; ] [{set_expression}]expression {, dimension}&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Returns a set of values of &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; calculated over &lt;SPAN style="font-style: italic;"&gt;dimensions&lt;/SPAN&gt;. The result can be compared to the expression column of a 'local chart', evaluated in the context where the &lt;SPAN class="Bold"&gt;aggr&lt;/SPAN&gt; function resides. Each &lt;SPAN class="Italic"&gt;dimension&lt;/SPAN&gt; must be a single field. It cannot be an expression (calculated dimension).&lt;/P&gt;&lt;P&gt;If the &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; argument is preceded by the &lt;SPAN class="Bold"&gt;nodistinct&lt;/SPAN&gt; qualifier, each combination of dimension values may generate more than one return value, depending on underlying data structure. If the &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; argument is preceded by the &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; 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 class="xref_1"&gt;&lt;EM&gt;Set Analysis&lt;/EM&gt;&lt;/A&gt; expression.&lt;/P&gt;&lt;P&gt;By using this function in &lt;A class="xref_1"&gt;&lt;EM&gt;Add calculated dimension... &lt;/EM&gt;&lt;/A&gt;it is possible to achieve nested chart aggregation in multiple levels. See also &lt;A class="xref_1"&gt;&lt;EM&gt;Nested Aggregations and Related Issues&lt;/EM&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;When used in chart expressions it is possible to achieve &lt;A class="MCXref_0" target="" title=""&gt;&lt;EM&gt;Sum of Rows in Pivot Tables&lt;/EM&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;aggr( sum(Sales), Country )&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P class="Code"&gt;aggr( nodistinct sum(Sales), Country )&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P class="Code"&gt;aggr( sum(Sales), Country, Region )&lt;/P&gt;&lt;P class="Code"&gt;count( aggr( sum(Sales), Country ))&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;TOTAL&lt;/P&gt;&lt;P class="Code"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4160"&gt;What does the TOTAL qualifier do?&lt;/A&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;A href="https://community.qlik.com/thread/111805"&gt;Total qualifier&lt;/A&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Also read&lt;/P&gt;&lt;P class="Code"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3285"&gt;The Aggregation Scope&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 19:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Agg-total-function-difference-plz-give-with-exaple/m-p/1007460#M974174</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-09-09T19:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Agg &amp; total function difference plz give with exaple .</title>
      <link>https://community.qlik.com/t5/QlikView/Agg-total-function-difference-plz-give-with-exaple/m-p/1007461#M974175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The use of Total( ) is it will nullify the selection of any dimension.&lt;/P&gt;&lt;P&gt;And the use of Aggr( ) is&amp;nbsp; it wll works on all rows.&lt;/P&gt;&lt;P&gt;For exemple&amp;nbsp; if the user want to find the top customer doing sales then he can use Aggr() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample file .Go through it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 05:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Agg-total-function-difference-plz-give-with-exaple/m-p/1007461#M974175</guid>
      <dc:creator>tripatirao</dc:creator>
      <dc:date>2015-09-10T05:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Agg &amp; total function difference plz give with exaple .</title>
      <link>https://community.qlik.com/t5/QlikView/Agg-total-function-difference-plz-give-with-exaple/m-p/1007462#M974176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create one more column in attached QVW to show % distribution of sales in states for a country..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex: total sales of a Germany is 100% and it is distributed in different states like 35% in Munich, 30 % in Frankfurt and remaining in Berlin..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.. I am stuck in a similar situation..&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 10:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Agg-total-function-difference-plz-give-with-exaple/m-p/1007462#M974176</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2016-01-26T10:47:52Z</dc:date>
    </item>
  </channel>
</rss>

