<?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: Concatenate top 5 Store in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-top-5-Store/m-p/1216310#M854637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfect working fine &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Feb 2017 12:48:52 GMT</pubDate>
    <dc:creator>devarasu07</dc:creator>
    <dc:date>2017-02-17T12:48:52Z</dc:date>
    <item>
      <title>Concatenate top 5 Store</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-top-5-Store/m-p/1216308#M854635</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 selling store. but how to top 5 store ? any suggestion. Thanks &lt;/P&gt;&lt;P&gt;=Concat(DISTINCT Aggr(If(Sum(SoldQty) = Max(TOTAL &amp;lt;ArticleNo&amp;gt; Aggr(Sum(SoldQty), ArticleNo, StoreName)), StoreName), ArticleNo, StoreName), ', ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Current Output,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Top 5 Store.jpg" class="jive-image image-1" src="/legacyfs/online/153495_Top 5 Store.jpg" style="height: 132px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Expected output like below,&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Top 5 Store.jpg" class="jive-image image-2" src="/legacyfs/online/153496_Top 5 Store.jpg" style="height: 67px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;tried like below and it's not working. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=if(aggr(rank(sum(SoldQty)),ArticleNo)&amp;lt;=5,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Concat(DISTINCT Aggr(If(Sum(SoldQty) = Max(TOTAL &amp;lt;ArticleNo&amp;gt; Aggr(Sum(SoldQty), ArticleNo, StoreName)), StoreName), ArticleNo, StoreName), ', ') )&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;Thanks, &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/Concatenate-top-5-Store/m-p/1216308#M854635</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate top 5 Store</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-top-5-Store/m-p/1216309#M854636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&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;&lt;STRONG&gt;=Concat(DISTINCT Aggr(If(Rank(Sum(SoldQty)) &amp;lt; 6, StoreName), ArticleNo, StoreName), ', ')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&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;=Concat(DISTINCT Aggr(If(Sum(SoldQty) &amp;lt;= Max(TOTAL &amp;lt;ArticleNo&amp;gt; Aggr(Sum(SoldQty), ArticleNo, StoreName), 5), StoreName), ArticleNo, StoreName), ', ')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 11:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-top-5-Store/m-p/1216309#M854636</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-17T11:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate top 5 Store</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-top-5-Store/m-p/1216310#M854637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfect working fine &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 12:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-top-5-Store/m-p/1216310#M854637</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-02-17T12:48:52Z</dc:date>
    </item>
  </channel>
</rss>

