<?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 Aggr function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833733#M293295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello can you tell me how does the aggr function works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case aggr(sum(Sales), Country)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is generated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 14:43:00 GMT</pubDate>
    <dc:creator>marco_puccetti</dc:creator>
    <dc:date>2015-06-16T14:43:00Z</dc:date>
    <item>
      <title>Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833733#M293295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello can you tell me how does the aggr function works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case aggr(sum(Sales), Country)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is generated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 14:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833733#M293295</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-06-16T14:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833734#M293296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will get 0, 1 or more values. Each value is grouped by Country and the value is the sum of Sales for that particular country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why you do safest in wrapping your Aggr() in an aggregate function to do something about the multiple values that might be returned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 14:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833734#M293296</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-16T14:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833735#M293297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is like creating a straight table with Country as dimension and sum(Sales) as expression.&lt;/P&gt;&lt;P&gt;That is why many values are returned.&lt;/P&gt;&lt;P&gt;Usually it is combined with some other function like RangeSum, so that QlikView knows which value to show from the many returned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 14:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833735#M293297</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-06-16T14:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833736#M293298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like in SQL&lt;/P&gt;&lt;P&gt;select &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;sum(Sales)&lt;/STRONG&gt;, Country from ..... group by Country&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView help&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;EM&gt;aggr (&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&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;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Returns a set of values of &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; calculated over dimensions. 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;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 14:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833736#M293298</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-16T14:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833737#M293299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i test (to display the list of values) in a text box the structure of Aggr function as you have said?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 15:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833737#M293299</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-06-16T15:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833738#M293300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=concat (aggr(sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sales&lt;/SPAN&gt;), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Country&lt;/SPAN&gt;) , chr(10))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 15:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833738#M293300</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-16T15:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833739#M293301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i use the statement with these datas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prodotto&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Valori&lt;/P&gt;&lt;P&gt;PIPPO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;PLUTO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;TOPOLINO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should i get with this statement concat (aggr(Prodotto,sum(Valori)) , chr(10)) ?&lt;/P&gt;&lt;P&gt;If i try i get error: Nested aggregation not allowed,&lt;/P&gt;&lt;P&gt;If i try with the inverted expression &lt;SPAN style="font-size: 13.3333330154419px;"&gt; (aggr(sum(Valori),&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Prodotto&lt;/SPAN&gt;) , chr(10))&lt;/SPAN&gt; i get only numbers is it correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 07:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833739#M293301</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-06-17T07:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833740#M293302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;expression in textbox is&lt;/P&gt;&lt;P&gt;=concat (aggr(sum(Valori),Prodotto) , chr(10))&lt;/P&gt;&lt;P&gt;chr(10) is the separator (line feed), change with '&amp;nbsp; ' if you want all the values on the same line &lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89714_1.png" style="height: 157px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 08:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833740#M293302</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-17T08:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833741#M293303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the product name is not showed within the aggr function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 08:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833741#M293303</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-06-17T08:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833742#M293304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;maybe&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=concat (aggr(Prodotto &amp;amp; ' ' &amp;amp; sum(Valori),Prodotto) , '&amp;nbsp; -&amp;nbsp; ')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 08:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833742#M293304</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-17T08:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833743#M293305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;aggr(sum(Valori),&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Prodotto&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;the above statement gives a total sum of valorie values per each Prodotto in your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it will make more sense if had you table data defined like this&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Prodotto,Valori&lt;/P&gt;&lt;P&gt;PIPPO,1&lt;/P&gt;&lt;P&gt;PIPPO,10&lt;/P&gt;&lt;P&gt;PIPPO,100&lt;/P&gt;&lt;P&gt;PLUTO,2&lt;/P&gt;&lt;P&gt;PLUTO,20&lt;/P&gt;&lt;P&gt;PLUTO,200&lt;/P&gt;&lt;P&gt;TOPOLINO,3&lt;/P&gt;&lt;P&gt;TOPOLINO,30&lt;/P&gt;&lt;P&gt;TOPOLINO,300&lt;/P&gt;&lt;P&gt;];&lt;IMG alt="Untitled124412.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89710_Untitled124412.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 08:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833743#M293305</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-06-17T08:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833744#M293306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case it works.&lt;/P&gt;&lt;P&gt;So in the aggregation is showed only the expression values (first argument).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 08:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833744#M293306</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-06-17T08:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833745#M293307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is it created the Aggragate table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 09:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833745#M293307</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-06-17T09:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833746#M293308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please have a look at the attachement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically selected the dimension Prodotto and an expression columns called aggrgate which has the formula Aggr(Sum(Valori),Prodotto)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 09:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833746#M293308</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-06-17T09:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833747#M293309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK you have to use the prodotto as dimension and this statement to get the data &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;aggr(sum(Valori),&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Prodotto&lt;/SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 09:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function/m-p/833747#M293309</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-06-17T09:39:26Z</dc:date>
    </item>
  </channel>
</rss>

