<?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 and set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-and-set-analysis/m-p/290928#M495979</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;/P&gt;&lt;P&gt;Actually I think your expression has an error. Inside your aggr() function there should exist a set expression like concat().&lt;/P&gt;&lt;P&gt;"aggr ([ distinct | nodistinct ] [{&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;set_expression&lt;/STRONG&gt;&lt;/SPAN&gt;}]expression {,dimension})"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this points you in the right direction.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2012 02:49:14 GMT</pubDate>
    <dc:creator>fosuzuki</dc:creator>
    <dc:date>2012-01-20T02:49:14Z</dc:date>
    <item>
      <title>aggr and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-and-set-analysis/m-p/290927#M495978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a textbox, why does the following give the result "alfa, gamma" instead of just "alfa" ?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;=concat({$&amp;lt;Names={alfa,gamma}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;aggr({$&amp;lt;Names={alfa,beta}&amp;gt;}Names , Names&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;),',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Names table looks like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Names&lt;/P&gt;&lt;P&gt;alfa&lt;/P&gt;&lt;P&gt;beta&lt;/P&gt;&lt;P&gt;gamma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant get the aggr function to work with set analysis. I always need to put in another function like sum or concat to limit the data set with. &lt;/P&gt;&lt;P&gt;But the manual does say that sets work in aggr:&lt;/P&gt;&lt;P&gt;"By default, the aggregation function will aggregate over the set of possible records defined by the selection.&lt;/P&gt;&lt;P&gt;An alternative set of records can be defined by a Set Analysis (page 805) expression."&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;"aggr ([ distinct | nodistinct ] [{set_expression}]expression {,dimension})"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/help much appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 23:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-and-set-analysis/m-p/290927#M495978</guid>
      <dc:creator />
      <dc:date>2012-01-19T23:53:22Z</dc:date>
    </item>
    <item>
      <title>aggr and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-and-set-analysis/m-p/290928#M495979</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;/P&gt;&lt;P&gt;Actually I think your expression has an error. Inside your aggr() function there should exist a set expression like concat().&lt;/P&gt;&lt;P&gt;"aggr ([ distinct | nodistinct ] [{&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;set_expression&lt;/STRONG&gt;&lt;/SPAN&gt;}]expression {,dimension})"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this points you in the right direction.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 02:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-and-set-analysis/m-p/290928#M495979</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-01-20T02:49:14Z</dc:date>
    </item>
  </channel>
</rss>

