<?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 the Top 3 Ranking Value in TextObjects in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919613#M318719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=FirstSortedValue(Cat, -Aggr(&lt;SPAN style="color: #ff0000;"&gt;RangeSum(&lt;/SPAN&gt;Sum(Sales)&lt;SPAN style="color: #ff0000;"&gt;, Rank(Cat)/1E10)&lt;/SPAN&gt;, Cat), 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=FirstSortedValue(Cat, -Aggr(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RangeSum(&lt;/STRONG&gt;Sum(Sales)&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, Rank(Cat)/1E10)&lt;/STRONG&gt;, Cat), 2)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=FirstSortedValue(Cat, -Aggr(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RangeSum(&lt;/STRONG&gt;Sum(Sales)&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, Rank(Cat)/1E10)&lt;/STRONG&gt;, Cat), 3)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2018 23:07:42 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-11-08T23:07:42Z</dc:date>
    <item>
      <title>Display the Top 3 Ranking Value in TextObjects</title>
      <link>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919609#M318715</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;I have a table like below one, but I want to create 3 Text Objects to list out the top 1, 2 and 3 Category name, does anyone have experience on that, thanks for any ideas.&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;Cat&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Product, Cat, Sales&lt;/P&gt;&lt;P&gt;A, A, 100&lt;/P&gt;&lt;P&gt;A1, A, 200&lt;/P&gt;&lt;P&gt;B, B, 100&lt;/P&gt;&lt;P&gt;B1, B, 400&lt;/P&gt;&lt;P&gt;C, C, 1000&lt;/P&gt;&lt;P&gt;D, D, 50&lt;/P&gt;&lt;P&gt;D1, D, 50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 04:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919609#M318715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-12T04:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Display the Top 3 Ranking Value in TextObjects</title>
      <link>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919610#M318716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Top Category&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(Cat, -Aggr(Sum(Sales), Cat), 1)&lt;/STRONG&gt; -&amp;gt; Returns C&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;For 2nd top Category&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(Cat, -Aggr(Sum(Sales), Cat), 2)&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; -&amp;gt; Returns B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;For 3rd top Category&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(Cat, -Aggr(Sum(Sales), Cat), 3)&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; -&amp;gt; Returns A&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 04:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919610#M318716</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-12T04:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Display the Top 3 Ranking Value in TextObjects</title>
      <link>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919611#M318717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to show top category and sales in Text Object then use below expression in Text Object:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Top Category and Sales' &amp;amp; chr(10) &amp;amp; 'Cat: '&amp;amp; FirstSortedValue(Cat,-Sales) &amp;amp; ', Sales: ' &amp;amp; Max(Sales) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 04:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919611#M318717</guid>
      <dc:creator>jsingh71</dc:creator>
      <dc:date>2015-08-12T04:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Display the Top 3 Ranking Value in TextObjects</title>
      <link>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919612#M318718</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;I am looking the same thing but little bit different.&lt;/P&gt;&lt;P&gt;In my scenario i need to show Top 3 even top 1 and top 2 has same sales.&lt;/P&gt;&lt;P&gt;Suppose A:500, B:400, C: 500, D:100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to show either "A" or "C" in first text object and "C" or "A" in Second Object then in third Text Object obviously "B".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 11:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919612#M318718</guid>
      <dc:creator>umamaheswarared1</dc:creator>
      <dc:date>2018-11-08T11:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display the Top 3 Ranking Value in TextObjects</title>
      <link>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919613#M318719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=FirstSortedValue(Cat, -Aggr(&lt;SPAN style="color: #ff0000;"&gt;RangeSum(&lt;/SPAN&gt;Sum(Sales)&lt;SPAN style="color: #ff0000;"&gt;, Rank(Cat)/1E10)&lt;/SPAN&gt;, Cat), 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=FirstSortedValue(Cat, -Aggr(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RangeSum(&lt;/STRONG&gt;Sum(Sales)&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, Rank(Cat)/1E10)&lt;/STRONG&gt;, Cat), 2)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=FirstSortedValue(Cat, -Aggr(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RangeSum(&lt;/STRONG&gt;Sum(Sales)&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, Rank(Cat)/1E10)&lt;/STRONG&gt;, Cat), 3)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 23:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919613#M318719</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-08T23:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Display the Top 3 Ranking Value in TextObjects</title>
      <link>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919614#M318720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny for your quick response it is working when ever we need rank for single field and group by same field.&lt;/P&gt;&lt;P&gt;But in my case i want to calculate rank&amp;nbsp; and group by multiple fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look into below code. I want to show top product group by multiple fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Firstsortedvalue( Product, -Aggr(RangeSum(Sum([Cases]), Rank(Product)/1E10), Product, Channel, [Ending Milestone], [Case Status],Journey1,Journey2,Journey3,Journey4,Journey5,Journey6,Journey7,Journey8,Journey9), 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Firstsortedvalue( Product, -Aggr(RangeSum(Sum([Cases]), Rank(Product)/1E10), Product, Channel, [Ending Milestone], [Case Status],Journey1,Journey2,Journey3,Journey4,Journey5,Journey6,Journey7,Journey8,Journey9), 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Firstsortedvalue( Product, -Aggr(RangeSum(Sum([Cases]), Rank(Product)/1E10), Product, Channel, [Ending Milestone], [Case Status],Journey1,Journey2,Journey3,Journey4,Journey5,Journey6,Journey7,Journey8,Journey9), 3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Umamaheswara Reddy&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 06:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919614#M318720</guid>
      <dc:creator>umamaheswarared1</dc:creator>
      <dc:date>2018-11-09T06:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Display the Top 3 Ranking Value in TextObjects</title>
      <link>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919615#M318721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it would be best if you can create a new thread and share a sample where we can see a better picture of what you have.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919615#M318721</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-09T11:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Display the Top 3 Ranking Value in TextObjects</title>
      <link>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919616#M318722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-the-Top-3-Ranking-Value-in-TextObjects/m-p/919616#M318722</guid>
      <dc:creator>umamaheswarared1</dc:creator>
      <dc:date>2018-11-09T11:32:14Z</dc:date>
    </item>
  </channel>
</rss>

