<?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 Help! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-Help/m-p/762408#M271081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Mar 2015 17:05:08 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-03-08T17:05:08Z</dc:date>
    <item>
      <title>Rank Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Help/m-p/762407#M271080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart like this below. I want to show the Bottom 5 from this. &lt;STRONG style="color: #ff0000;"&gt;How can this be done using Rank Function?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Can the same be done using Dimensional Limits?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Please help!&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 108pt;" width="144"&gt;&lt;TBODY&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl66" height="20" style="height: 15.0pt; width: 54pt;" width="72"&gt;ID&lt;/TD&gt;&lt;TD class="xl66" style="width: 54pt;" width="72"&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl63" height="19" style="height: 14.25pt; width: 54pt;" width="72"&gt;30502113A&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none; width: 54pt;" width="72"&gt;4.55%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 24.0pt;"&gt;&lt;TD class="xl63" height="32" style="height: 24.0pt; border-top: none; width: 54pt;" width="72"&gt;REUSE-11-2MQ&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;5.56%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl65" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;73910&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;5.56%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl65" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;73211&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;5.88%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl65" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;105353&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;6.25%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 24.0pt;"&gt;&lt;TD class="xl63" height="32" style="height: 24.0pt; border-top: none; width: 54pt;" width="72"&gt;30502111SA&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;6.67%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl63" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;01690-300&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;7.14%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 24.0pt;"&gt;&lt;TD class="xl63" height="32" style="height: 24.0pt; border-top: none; width: 54pt;" width="72"&gt;30503-014A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;7.69%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl63" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;30506-10A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;7.69%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl65" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;79920&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;7.69%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl63" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;DS45-11&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;8.33%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl63" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;PORT-1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;8.33%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl65" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;52400&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;8.33%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl65" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;58010&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;8.33%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl63" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;4800-60&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;9.09%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl63" height="19" style="height: 14.25pt; border-top: none; width: 54pt;" width="72"&gt;30506-19A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;9.09%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 24.0pt;"&gt;&lt;TD class="xl63" height="32" style="height: 24.0pt; border-top: none; width: 54pt;" width="72"&gt;ARDEN-S2BK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;9.09%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 24.0pt;"&gt;&lt;TD class="xl63" height="32" style="height: 24.0pt; border-top: none; width: 54pt;" width="72"&gt;30506-13LA&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;10.00%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 24.0pt;"&gt;&lt;TD class="xl63" height="32" style="height: 24.0pt; border-top: none; width: 54pt;" width="72"&gt;REUSE-09-1HP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none; width: 54pt;" width="72"&gt;10.00%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 16:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Help/m-p/762407#M271080</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-03-08T16:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Help/m-p/762408#M271081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 17:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Help/m-p/762408#M271081</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-08T17:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Help/m-p/762409#M271082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Infact wanted to tell that this Value field is calculated from an expression like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(DISTINCT{&amp;lt;[PO Line On-Time] = {'Y'},[Supplier Material Number] = {"=Rank(Count([PO Doc - Item]))&amp;lt;=5"}&amp;gt;}[PO Doc - Item])&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;count(DISTINCT{&amp;lt;[Supplier Material Number] = {"=Rank(Count([PO Doc - Item]))&amp;lt;=5"}&amp;gt;}[PO Doc - Item])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when I am applying Rank function here, it doesn't takes the Smallest 5, rather it takes some Random 5 in between.&lt;/P&gt;&lt;P&gt;Any issues in my expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I store this expression in a variable and try to Rank it....Will that help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 17:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Help/m-p/762409#M271082</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-03-08T17:14:20Z</dc:date>
    </item>
  </channel>
</rss>

