<?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 Calculating a Rank not in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179332#M46220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you're using this for the rank column?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;rank(sum({&amp;lt;Salesperson=&amp;gt;} CommissionDollars))&lt;/P&gt;&lt;P&gt;Seems like it should work. What's it giving you? Rank 1? Is it rank 2 but there's some other problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Nov 2010 22:30:27 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-11-09T22:30:27Z</dc:date>
    <item>
      <title>Calculating a Rank not in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179331#M46219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say I have a table of Salespeople and Commission dollars&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salesperson Sum(CommissionDollars) Rank&lt;/P&gt;&lt;P&gt;A 35 1&lt;/P&gt;&lt;P&gt;B 20 2&lt;/P&gt;&lt;P&gt;C 15 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next I select Salesperson B. And the table changes to:&lt;/P&gt;&lt;P&gt;Salesperson sum(CommissionDollars) Rank&lt;/P&gt;&lt;P&gt;B 20 1&lt;/P&gt;&lt;P&gt;I want the chart to show the overall rank of salesperson B which is 2. not the rank of just the selected values. I have tried to use Sum({&amp;lt;Salesperson=&amp;gt;} CommissionDollars) but that isn't working&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 22:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179331#M46219</guid>
      <dc:creator />
      <dc:date>2010-11-09T22:16:22Z</dc:date>
    </item>
    <item>
      <title>Calculating a Rank not in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179332#M46220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you're using this for the rank column?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;rank(sum({&amp;lt;Salesperson=&amp;gt;} CommissionDollars))&lt;/P&gt;&lt;P&gt;Seems like it should work. What's it giving you? Rank 1? Is it rank 2 but there's some other problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 22:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179332#M46220</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-09T22:30:27Z</dc:date>
    </item>
    <item>
      <title>Calculating a Rank not in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179333#M46221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It Gives me then the initial table back with all 3 salespeople. i only want salesperson B.&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 23:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179333#M46221</guid>
      <dc:creator />
      <dc:date>2010-11-09T23:32:39Z</dc:date>
    </item>
    <item>
      <title>Calculating a Rank not in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179334#M46222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, yeah, it'll still calcuate for everyone, so everyone will still be in the table. Well, I'd do this...&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(column(1),rank(sum({&amp;lt;Person=&amp;gt;}Amount)))&lt;/P&gt;&lt;P&gt;...to tell it to null out the second column if there's nothing in the first, which should be 0 based on our selections.&lt;/P&gt;&lt;P&gt;But I'm trying it now, and it's not working. It does show rank 2, but it refuses to remove A and C, even though there are only 0 or null in the columns, and even though I've told it to suppress zeros and suppress missing. I really don't know why it's doing that.&lt;/P&gt;&lt;P&gt;Anyone? What totally obvious thing am I missing to suppress the rows for A and C?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 23:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179334#M46222</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-09T23:42:25Z</dc:date>
    </item>
    <item>
      <title>Calculating a Rank not in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179335#M46223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actuall think i figured this out after your help. I used an AGGR to pull out only salesperson B.&lt;/P&gt;&lt;P&gt;AGGR( rank(sum({&amp;lt;Salesperson=&amp;gt;} CommissionDollars)), Salesperson)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 23:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179335#M46223</guid>
      <dc:creator />
      <dc:date>2010-11-09T23:51:19Z</dc:date>
    </item>
    <item>
      <title>Calculating a Rank not in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179336#M46224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, that works. Still not sure why mine didn't, but at least you figured out how to do what you needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 23:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Rank-not-in-a-table/m-p/179336#M46224</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-09T23:57:51Z</dc:date>
    </item>
  </channel>
</rss>

