<?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 with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-with-set-analysis/m-p/412200#M153451</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;I am trying to do the following without much success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a line chart with a trellis for the first dimension (PortfolioName). The second dimension is AsOfDate. I want the following expressions: First, I want 12 month rolling returns for the portfolio (easy). Second, I want the max and min (actually various fractiles) for all the portfolios. I therefore want to by pass the single portfolio selection caused by the trellis iterating through each of my portfolios (first dimension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, the Qlikview help file and pop-up for the aggr function seem to differ when it comes to where the set analysis happens (the first says it is before the expr, while the second says it is after dim as such:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;dual Aggr ({[DISTINCT][NODISTINCT]}expr, dim{, Expression})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Please can someone help me figure out which one to use, and how to achieve the above?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Joao&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;PS: If I ignore the trellis part of the exercise above, I can get the correct values for the min and max.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2012 10:57:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-09-17T10:57:55Z</dc:date>
    <item>
      <title>aggr with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-with-set-analysis/m-p/412200#M153451</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;I am trying to do the following without much success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a line chart with a trellis for the first dimension (PortfolioName). The second dimension is AsOfDate. I want the following expressions: First, I want 12 month rolling returns for the portfolio (easy). Second, I want the max and min (actually various fractiles) for all the portfolios. I therefore want to by pass the single portfolio selection caused by the trellis iterating through each of my portfolios (first dimension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, the Qlikview help file and pop-up for the aggr function seem to differ when it comes to where the set analysis happens (the first says it is before the expr, while the second says it is after dim as such:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;dual Aggr ({[DISTINCT][NODISTINCT]}expr, dim{, Expression})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Please can someone help me figure out which one to use, and how to achieve the above?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Joao&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;PS: If I ignore the trellis part of the exercise above, I can get the correct values for the min and max.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 10:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-with-set-analysis/m-p/412200#M153451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-17T10:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: aggr with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-with-set-analysis/m-p/412201#M153452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think aggr() as a group by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(&lt;/STRONG&gt; &lt;EM&gt;your expression, &lt;/EM&gt; &lt;STRONG&gt;Dimension1, Dimension2, ..., DimensionN)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the Dimensions are the field of the grouping, do you understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 13:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-with-set-analysis/m-p/412201#M153452</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-09-17T13:37:41Z</dc:date>
    </item>
  </channel>
</rss>

