<?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 Examples on new Aggr syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278501#M401231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one post some examples on the new Aggr() syntax, especially on the sort able syntax. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Dec 2016 14:16:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-18T14:16:55Z</dc:date>
    <item>
      <title>Examples on new Aggr syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278501#M401231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one post some examples on the new Aggr() syntax, especially on the sort able syntax. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Dec 2016 14:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278501#M401231</guid>
      <dc:creator />
      <dc:date>2016-12-18T14:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on new Aggr syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278502#M401232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example scenario where you want to list top 5 countries in Sales in a Text box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Without Sort expression, the countries will be concatenated by load order.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Concat(AGGR(IF(Rank(sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sales),1,1)&amp;lt;=5&lt;/SPAN&gt;&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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;),', ', )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;With Sort expression, the countries will be concatenated in Order of RANK 1-5:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Concat(AGGR(IF(Rank(sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sales),1,1)&amp;lt;=5&lt;/SPAN&gt;&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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;),', ', &lt;SPAN style="text-decoration: underline;"&gt;aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: underline;"&gt;Rank(sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-decoration: underline;"&gt;Sales),1,1)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: underline;"&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: underline;"&gt;Country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;)&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Dec 2016 17:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278502#M401232</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-18T17:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on new Aggr syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278503#M401233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find an interesting examples here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/5065"&gt;Recipe for a Pareto Analysis – Revisited&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Dec 2016 17:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278503#M401233</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-12-18T17:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on new Aggr syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278504#M401234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw that, but its not that much intuitive in a generic way. Thanks for the reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 06:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278504#M401234</guid>
      <dc:creator />
      <dc:date>2016-12-19T06:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on new Aggr syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278505#M401235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to use it in a simple example and it did not work for me. Do you have a simple example where you can apply?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I used this syntax and it marks me as an error in the editor, when applying calculates but does not order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(SUM(TTRx),(TERRITORY_DESC,(=SUM(TTRx), DESC)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 13:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278505#M401235</guid>
      <dc:creator>gballester</dc:creator>
      <dc:date>2017-11-21T13:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Examples on new Aggr syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278506#M401236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a formula used is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(SUM(TTRx),(TERRITORY_DESC,(=SUM(TTRx),(numeric,DESCENDING))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 14:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Examples-on-new-Aggr-syntax/m-p/1278506#M401236</guid>
      <dc:creator>gballester</dc:creator>
      <dc:date>2017-11-21T14:41:09Z</dc:date>
    </item>
  </channel>
</rss>

