<?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 Rank Help again in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-Help-again/m-p/465918#M488788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am continuing to struggle with a rank expression! I would like to rank agents based on the calls they have received&amp;nbsp; - this is the easy part. I only want to rank those that have received &amp;gt;0 calls and return that as a total (highest rank) in a column. My problem is that I can return the highest rank in a column but it is ranking the agents with 0 calls also which I want to avoid. In the attached example, I am looking to return on each row in the last column the value 14 which is the highest rank for those agents that had received &amp;gt;0 calls. I am currently getting 25 because it is ranking on the whole population which I want to avoid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haider&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Nov 2012 11:02:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-26T11:02:30Z</dc:date>
    <item>
      <title>Rank Help again</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Help-again/m-p/465918#M488788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am continuing to struggle with a rank expression! I would like to rank agents based on the calls they have received&amp;nbsp; - this is the easy part. I only want to rank those that have received &amp;gt;0 calls and return that as a total (highest rank) in a column. My problem is that I can return the highest rank in a column but it is ranking the agents with 0 calls also which I want to avoid. In the attached example, I am looking to return on each row in the last column the value 14 which is the highest rank for those agents that had received &amp;gt;0 calls. I am currently getting 25 because it is ranking on the whole population which I want to avoid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haider&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 11:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Help-again/m-p/465918#M488788</guid>
      <dc:creator />
      <dc:date>2012-11-26T11:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Help again</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Help-again/m-p/465919#M488789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max( Total aggr(rank(sum({&amp;lt;AGENT_ID={"=sum([EG_Agent_Talk_Time])&amp;lt;&amp;gt;0"}&amp;gt;}[EG_Agent_Talk_Time])),AGENT_ID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 11:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Help-again/m-p/465919#M488789</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2012-11-26T11:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Help again</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Help-again/m-p/465920#M488790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just count the number of agents with TALKTIME &amp;gt; 0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count( TOTAL {&amp;lt;AGENT_ID = {"=sum([EG_Agent_Talk_Time])&amp;gt;0"}&amp;gt;} AGENT_ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 11:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Help-again/m-p/465920#M488790</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-11-26T11:21:50Z</dc:date>
    </item>
  </channel>
</rss>

