<?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: Rank order with Concatenation? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-order-with-Concatenation/m-p/1348085#M824372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Concat(DISTINCT Aggr(If(Rank(Sum(SoldQty),4) &amp;lt;=5, StoreName), ArticleNo, StoreName), ', '&lt;SPAN style="color: #ff0000;"&gt;,Aggr(-Sum(SoldQty),ArticleNo,StoreName)&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jul 2017 04:42:32 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-07-21T04:42:32Z</dc:date>
    <item>
      <title>Rank order with Concatenation?</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-order-with-Concatenation/m-p/1348083#M824370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using below expression able to get top 5 Store Name in straight table, Is it possible to rank the store names according to highest sold/sales instead of alphabetical order? Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Concat(DISTINCT Aggr(If(Rank(Sum(SoldQty),4) &amp;lt;=5, StoreName), ArticleNo, StoreName), ', ')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Rank.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170948_Rank.JPG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-order-with-Concatenation/m-p/1348083#M824370</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rank order with Concatenation?</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-order-with-Concatenation/m-p/1348084#M824371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For top 5 stores give 5 different expressions each one for first,second,third,4th and 5th shops.&lt;/P&gt;&lt;P&gt;for First store expression will be &lt;STRONG&gt;=Concat(DISTINCT Aggr(If(Rank(Sum(SoldQty),4) =1, StoreName), ArticleNo, StoreName))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd store &lt;STRONG&gt;=Concat(DISTINCT Aggr(If(Rank(Sum(SoldQty),4) =2, StoreName), ArticleNo, StoreName))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;3rd store &lt;STRONG&gt;=Concat(DISTINCT Aggr(If(Rank(Sum(SoldQty),4) =3, StoreName), ArticleNo, StoreName))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;4th store =&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Concat(DISTINCT Aggr(If(Rank(Sum(SoldQty),4) =4, StoreName), ArticleNo, StoreName))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;5th store -=&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Concat(DISTINCT Aggr(If(Rank(Sum(SoldQty),4) =5, StoreName), ArticleNo, StoreName))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 04:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-order-with-Concatenation/m-p/1348084#M824371</guid>
      <dc:creator />
      <dc:date>2017-07-21T04:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rank order with Concatenation?</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-order-with-Concatenation/m-p/1348085#M824372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Concat(DISTINCT Aggr(If(Rank(Sum(SoldQty),4) &amp;lt;=5, StoreName), ArticleNo, StoreName), ', '&lt;SPAN style="color: #ff0000;"&gt;,Aggr(-Sum(SoldQty),ArticleNo,StoreName)&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 04:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-order-with-Concatenation/m-p/1348085#M824372</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-21T04:42:32Z</dc:date>
    </item>
  </channel>
</rss>

