<?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 FUNCTION NOT WORKING in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564230#M210565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good. Average to number. Good!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Apr 2014 09:02:57 GMT</pubDate>
    <dc:creator>christian77</dc:creator>
    <dc:date>2014-04-11T09:02:57Z</dc:date>
    <item>
      <title>RANK FUNCTION NOT WORKING</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564223#M210558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;In the help menú says that Rank funcktion returns an average if the 2nd parameter is set to 2.&lt;/P&gt;&lt;P&gt;RANK(SUM(VALUE),2)&lt;/P&gt;&lt;P&gt;But it doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I Rank a NAME, it does it exactly backwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 07:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564223#M210558</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2014-04-11T07:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: RANK FUNCTION NOT WORKING</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564224#M210559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2nd Table ... Just Remove ID from Dimension,, you will get your result..it is not working because of having two dimension.... It is comparing sum(VALUE) wrt ID and NAME both&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last Table Rank(Name)... Here name starting with Z should be Ranked first... Rank works from Higher to Lower...&lt;/P&gt;&lt;P&gt;so ZYX..A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;same as 100 ,90 , 80, 70.. Higher in the list, lower the rank..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 08:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564224#M210559</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-11T08:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: RANK FUNCTION NOT WORKING</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564225#M210560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd table Works if TOTAL modifier is placed. Otherwise Rank would be only for one column.&lt;/P&gt;&lt;P&gt;3rd table. I don't have that average. That must be a bug.&lt;/P&gt;&lt;P&gt;4th table. You are right. The highest is the last. I hadn't thought it that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I want to get the inverse, what do I do?&lt;/P&gt;&lt;P&gt;RANK(1/RANK(NAME)) DOES NOT WORK&lt;/P&gt;&lt;P&gt;NoOfRows(TOTAL)-RANK(NAME)+1 Works, woof.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still need that average to be working. Table 3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 08:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564225#M210560</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2014-04-11T08:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: RANK FUNCTION NOT WORKING</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564226#M210561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The workaround.&lt;/P&gt;&lt;P&gt;use subfield function and rangeaverage&lt;/P&gt;&lt;P&gt;rangeavg(&lt;/P&gt;&lt;P&gt;subfield(Rank(funktion),'-',1)&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;subfield(Rank(funktion),'-',2)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solves it but it is a big ÑAPA.&lt;/P&gt;&lt;P&gt;Average mode using 2nd parameter = 2 should be working fine, but it does not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 08:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564226#M210561</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2014-04-11T08:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: RANK FUNCTION NOT WORKING</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564227#M210562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes...&lt;/P&gt;&lt;P&gt;2nd Table if you use TOTAL qualifier, it will ignore the number of dimensions used in your table.&lt;/P&gt;&lt;P&gt;3rd Table use expression as = NUM(Rank(TOTAL SUM(VALUE),2))&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;4th is already solved....for reverse rank.use as below.... Max(TOTAL Aggr(RANK(NAME),NAME))-Rank(NAME,4)+1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 08:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564227#M210562</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-11T08:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: RANK FUNCTION NOT WORKING</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564228#M210563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paste in ur expression&lt;/P&gt;&lt;P&gt;Aggr( RANK(SUM(VALUE),2),ID)&lt;/P&gt;&lt;P&gt;in the number tab check this expression format as number then u will get what u want 10-12 as 11 and 16-17 as 16.5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 08:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564228#M210563</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-04-11T08:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: RANK FUNCTION NOT WORKING</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564229#M210564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a Look at This File&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 08:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564229#M210564</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-04-11T08:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: RANK FUNCTION NOT WORKING</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564230#M210565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good. Average to number. Good!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 09:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564230#M210565</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2014-04-11T09:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: RANK FUNCTION NOT WORKING</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564231#M210566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only helpful answer? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 09:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564231#M210566</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-11T09:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: RANK FUNCTION NOT WORKING</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564232#M210567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my solution will excatly work for u did u try that one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 09:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-FUNCTION-NOT-WORKING/m-p/564232#M210567</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-04-11T09:43:18Z</dc:date>
    </item>
  </channel>
</rss>

