<?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 fun? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690471#M1077613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 1's are the parameters for the rank function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second parameter &lt;SPAN style="font-style: italic;"&gt;mode&lt;/SPAN&gt; specifies the number representation of the function result. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;mode&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-LeftBold" style="margin-right: auto;"&gt;&lt;TBODY&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;0 &lt;SPAN class="normal"&gt;(default)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;If all ranks within the sharing group fall on the low side of the middle value of the entire ranking, all rows get the lowest rank within the sharing group. &lt;BR /&gt;If all ranks within the sharing group fall on the high side of the middle value of the entire ranking, all rows get the highest rank within the sharing group. &lt;BR /&gt;If ranks within the sharing group span over the middle value of the entire ranking, all rows get the value corresponding to the average of the top and bottom ranking in the entire column segment. &lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;1&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Lowest rank on all rows. &lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;2&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Average rank on all rows. &lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;3&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Highest rank on all rows. &lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;4&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Lowest rank on first row, then incremented by one for each row. &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The third parameter &lt;SPAN style="font-style: italic;"&gt;format&lt;/SPAN&gt; specifies the text representation of the function result. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;format&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-LeftBold" style="margin-right: auto;"&gt;&lt;TBODY&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;0 &lt;SPAN class="normal"&gt;(default)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Low value&lt;SPAN class="Bold"&gt;&amp;amp;' - '&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal;"&gt;high value on all rows (e.g. 3 - 4). &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;1&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Low value on all rows. &lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;2&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Low value on first row, blank on the following rows. &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 16:56:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-17T16:56:55Z</dc:date>
    <item>
      <title>rank fun?</title>
      <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690462#M1077604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aggr(Rank(Sum(Value),1,1),ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how it works explain me pls ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 17:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690462#M1077604</guid>
      <dc:creator />
      <dc:date>2014-07-16T17:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: rank fun?</title>
      <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690463#M1077605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I rank fun pretty highly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 18:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690463#M1077605</guid>
      <dc:creator />
      <dc:date>2014-07-16T18:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: rank fun?</title>
      <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690464#M1077606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the qlikview help.&amp;nbsp; does that explain you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 18:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690464#M1077606</guid>
      <dc:creator />
      <dc:date>2014-07-16T18:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: rank fun?</title>
      <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690465#M1077607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No but seriously, from the QV helpfiles:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor247"&gt;&lt;/A&gt;&lt;A name="rank"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;rank(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[ &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; ] expression [ , mode [, format ] ]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Evaluates &lt;SPAN style="font-style: italic;"&gt;expression&lt;/SPAN&gt;, compares the result with the result of the other rows containing the current column segment and returns the ranking of the current row within the segment. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 18:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690465#M1077607</guid>
      <dc:creator />
      <dc:date>2014-07-16T18:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: rank fun?</title>
      <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690466#M1077608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[ID,Value&lt;/P&gt;&lt;P&gt;111,23&lt;/P&gt;&lt;P&gt;222,34,&lt;/P&gt;&lt;P&gt;333,54&lt;/P&gt;&lt;P&gt;444,11&lt;/P&gt;&lt;P&gt;555,36&lt;/P&gt;&lt;P&gt;666,5&lt;/P&gt;&lt;P&gt;777,54];&amp;nbsp;&amp;nbsp;&amp;nbsp; pls explain above condition how it is calculating&amp;nbsp;&amp;nbsp; pls,,,,,,,,,,,,,,,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 04:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690466#M1077608</guid>
      <dc:creator />
      <dc:date>2014-07-17T04:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: rank fun?</title>
      <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690467#M1077609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a QVW that may help you..... if you could explain what kind of expression you're trying to write that would be a little more helpful, champ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 11:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690467#M1077609</guid>
      <dc:creator />
      <dc:date>2014-07-17T11:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: rank fun?</title>
      <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690468#M1077610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perhaps what you are looking for is this function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rank(aggr(sum(value), ID),1,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function will assign a rank to each ID based on the sum of their values..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690468#M1077610</guid>
      <dc:creator />
      <dc:date>2014-07-17T12:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: rank fun?</title>
      <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690469#M1077611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;M-Buddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying to find an expression that works for a given purpose, or are you trying to figure out how something works that somebody else wrote for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690469#M1077611</guid>
      <dc:creator />
      <dc:date>2014-07-17T12:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: rank fun?</title>
      <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690470#M1077612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want know how it works&amp;nbsp; what 1,1, work here&amp;nbsp;&amp;nbsp; and&amp;nbsp; id work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 16:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690470#M1077612</guid>
      <dc:creator />
      <dc:date>2014-07-17T16:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: rank fun?</title>
      <link>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690471#M1077613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 1's are the parameters for the rank function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second parameter &lt;SPAN style="font-style: italic;"&gt;mode&lt;/SPAN&gt; specifies the number representation of the function result. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;mode&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-LeftBold" style="margin-right: auto;"&gt;&lt;TBODY&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;0 &lt;SPAN class="normal"&gt;(default)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;If all ranks within the sharing group fall on the low side of the middle value of the entire ranking, all rows get the lowest rank within the sharing group. &lt;BR /&gt;If all ranks within the sharing group fall on the high side of the middle value of the entire ranking, all rows get the highest rank within the sharing group. &lt;BR /&gt;If ranks within the sharing group span over the middle value of the entire ranking, all rows get the value corresponding to the average of the top and bottom ranking in the entire column segment. &lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;1&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Lowest rank on all rows. &lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;2&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Average rank on all rows. &lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;3&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Highest rank on all rows. &lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;4&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Lowest rank on first row, then incremented by one for each row. &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The third parameter &lt;SPAN style="font-style: italic;"&gt;format&lt;/SPAN&gt; specifies the text representation of the function result. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;format&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-LeftBold" style="margin-right: auto;"&gt;&lt;TBODY&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;0 &lt;SPAN class="normal"&gt;(default)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Low value&lt;SPAN class="Bold"&gt;&amp;amp;' - '&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal;"&gt;high value on all rows (e.g. 3 - 4). &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;1&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Low value on all rows. &lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;2&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;Low value on first row, blank on the following rows. &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 16:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-fun/m-p/690471#M1077613</guid>
      <dc:creator />
      <dc:date>2014-07-17T16:56:55Z</dc:date>
    </item>
  </channel>
</rss>

