<?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: Display top 5 countries in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Display-top-5-countries/m-p/1808952#M65888</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134133"&gt;@niranjana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;=Concat(Aggr(If(Rank(Sum(Sales))&amp;lt;= 5, Country&amp;amp;'('&amp;amp;Sum(Sales)&amp;amp;')'), Country), ',', Aggr(Rank(Sum(Sales)), Country))&lt;/P&gt;&lt;P&gt;It will display Country &amp;amp; Sales with highest rank to lowest rank&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 10:45:17 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2021-05-19T10:45:17Z</dc:date>
    <item>
      <title>Display top 5 countries</title>
      <link>https://community.qlik.com/t5/App-Development/Display-top-5-countries/m-p/1808934#M65884</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a requirement where i have to display top 5 countries with maximum sales in qliksense text box. Not sales, but top 5 countries with sales. Is it possible using aggregate function in a single line?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 09:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-top-5-countries/m-p/1808934#M65884</guid>
      <dc:creator>niranjana</dc:creator>
      <dc:date>2021-05-19T09:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 5 countries</title>
      <link>https://community.qlik.com/t5/App-Development/Display-top-5-countries/m-p/1808952#M65888</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134133"&gt;@niranjana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;=Concat(Aggr(If(Rank(Sum(Sales))&amp;lt;= 5, Country&amp;amp;'('&amp;amp;Sum(Sales)&amp;amp;')'), Country), ',', Aggr(Rank(Sum(Sales)), Country))&lt;/P&gt;&lt;P&gt;It will display Country &amp;amp; Sales with highest rank to lowest rank&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 10:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-top-5-countries/m-p/1808952#M65888</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-05-19T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 5 countries</title>
      <link>https://community.qlik.com/t5/App-Development/Display-top-5-countries/m-p/1809387#M65943</link>
      <description>&lt;P&gt;Thanks a lot...it is working ..what if i want to show from 2nd like 2nd to 5th rank..excluding the first topmost country?&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 10:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-top-5-countries/m-p/1809387#M65943</guid>
      <dc:creator>niranjana</dc:creator>
      <dc:date>2021-05-20T10:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 5 countries</title>
      <link>https://community.qlik.com/t5/App-Development/Display-top-5-countries/m-p/1809510#M65961</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134133"&gt;@niranjana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case, change the if condition&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Concat(Aggr(If(Rank(Sum(Sales))&amp;gt;1 and Rank(Sum(Sales)) &amp;lt;=5, Country&amp;amp;'('&amp;amp;Sum(Sales)&amp;amp;')'), Country), ',', Aggr(Rank(Sum(Sales)), Country))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 15:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-top-5-countries/m-p/1809510#M65961</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-05-20T15:58:37Z</dc:date>
    </item>
  </channel>
</rss>

