<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/789434#M279168</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;Add - before Sum&lt;/P&gt;&lt;P&gt;aggr(rank(-sum({&amp;lt;[RISK STATE]=&amp;gt;}[NET WRITTEN PREMIUM]),4),[RISK STATE]).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2015 21:01:40 GMT</pubDate>
    <dc:creator>robert_mika</dc:creator>
    <dc:date>2015-02-11T21:01:40Z</dc:date>
    <item>
      <title>Rank Function</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/789433#M279167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the following function to rank different metrics by state:&lt;/P&gt;&lt;P&gt;aggr(rank(sum({&amp;lt;[RISK STATE]=&amp;gt;}[NET WRITTEN PREMIUM]),4),[RISK STATE]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how to inverse the order.&amp;nbsp; I have several ratio metrics where the lowest number would actually be the best versus the normal sales and premiums where the highest number is best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 20:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/789433#M279167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-11T20:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Function</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/789434#M279168</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;Add - before Sum&lt;/P&gt;&lt;P&gt;aggr(rank(-sum({&amp;lt;[RISK STATE]=&amp;gt;}[NET WRITTEN PREMIUM]),4),[RISK STATE]).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 21:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/789434#M279168</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-02-11T21:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Function</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/789435#M279169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thank you for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 21:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/789435#M279169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-11T21:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Function</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/789436#M279170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 21:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/789436#M279170</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-02-11T21:17:52Z</dc:date>
    </item>
  </channel>
</rss>

