<?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/998567#M528548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anything changes when you use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=&lt;SPAN style="color: #ff0000;"&gt;Avg(&lt;/SPAN&gt;Aggr(Rank(Sum({_MTDFlag={1},SalesPerson=&amp;gt;}Sales),1,1),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SalesPerson&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;)&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2015 04:32:50 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-09-09T04:32:50Z</dc:date>
    <item>
      <title>Rank Function</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/998565#M528546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a issue that I have not been able to find a work around for.&amp;nbsp; I am trying to populate a text box with the rank of a sale person relative to the total sales person population.&amp;nbsp; To do this I have been using AGGR with Rank in the formula below.&amp;nbsp; This works fine until I filter by a product where the sales person has not sold anything.&amp;nbsp; In those cases it is returning "-" in the text box.&amp;nbsp; Ideally it would treat no sales as $0 sales and return the appropriate rank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insight would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Rank(Sum({_MTDFlag={1},SalesPerson=&amp;gt;}Sales),1,1),&lt;SPAN style="font-size: 13.3333px;"&gt;SalesPerson&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Selections&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Salesperson List Box&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Salesperson A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Sum Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({_MTDFlag={1},SalesPerson=&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -$0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Expected Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;46&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Current Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 21:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/998565#M528546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-08T21:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Function</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/998566#M528547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you attach sample qvw with the data. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 03:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/998566#M528547</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-09-09T03:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Function</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/998567#M528548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anything changes when you use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=&lt;SPAN style="color: #ff0000;"&gt;Avg(&lt;/SPAN&gt;Aggr(Rank(Sum({_MTDFlag={1},SalesPerson=&amp;gt;}Sales),1,1),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SalesPerson&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;)&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 04:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/998567#M528548</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-09T04:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Function</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/998568#M528549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a simplified version of the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 13:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/998568#M528549</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T13:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Function</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/998569#M528550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that did not work.&amp;nbsp; Thanks for the suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 13:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function/m-p/998569#M528550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T13:09:04Z</dc:date>
    </item>
  </channel>
</rss>

