<?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 Inverse Ranking in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221093#M73934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I suppose your sales are positive, so just use : rank(-sum(Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Apr 2010 20:14:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-21T20:14:32Z</dc:date>
    <item>
      <title>Inverse Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221090#M73931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I have the requirement to rank certain values in a straight table in reverse order. That means if I have, for example, Sales values from 1 to 10, the function rank(sum(Sales),3,1) will retrun 1 for the greatest sales and 10 for the lower sales. I want it to return 1 for the LOWEST Value and 10 for the greatest Value.&lt;/P&gt;&lt;P&gt;I hope somebody can help me out.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 19:51:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221090#M73931</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2010-04-21T19:51:04Z</dc:date>
    </item>
    <item>
      <title>Inverse Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221091#M73932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;if u want reverse order thats what u r using rank?&lt;/P&gt;&lt;P&gt;then better try Strainght table -&amp;gt;Properties-&amp;gt;sort&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it ll help for u&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 20:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221091#M73932</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2010-04-21T20:01:18Z</dc:date>
    </item>
    <item>
      <title>Inverse Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221092#M73933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but thats not what Im looking for. I need to assign a ranking to every row in the straight table, no matter the sort order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 20:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221092#M73933</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2010-04-21T20:07:48Z</dc:date>
    </item>
    <item>
      <title>Inverse Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221093#M73934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I suppose your sales are positive, so just use : rank(-sum(Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 20:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221093#M73934</guid>
      <dc:creator />
      <dc:date>2010-04-21T20:14:32Z</dc:date>
    </item>
    <item>
      <title>Inverse Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221094#M73935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!!! That was it... I appreciate your help.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 02:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221094#M73935</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2010-04-22T02:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Inverse Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221095#M73936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is probably just a syntax thing but what if the formula was slightly more complex: i.e. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OPPStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={'Open'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OPPSalesStage&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'5 - Confident','6 - Committed'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Dim_SPECFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {'1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;opportunityid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/&lt;BR /&gt;&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OPPStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={'Open'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Dim_SPECFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;opportunityid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;No need to worry too much about the set analysis but I want the same result as the original poster but I'm using count and dividing two numbers together - any ideas? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Stu&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 12:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverse-Ranking/m-p/221095#M73936</guid>
      <dc:creator>stuwannop</dc:creator>
      <dc:date>2013-08-07T12:31:32Z</dc:date>
    </item>
  </channel>
</rss>

