<?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 How do I rank based on dimensions not in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241194#M91640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if you ever got an answer, but you could try this based on the example you attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;rank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;Region={"*"}&amp;gt;}Sales))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jan 2011 18:53:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-07T18:53:04Z</dc:date>
    <item>
      <title>How do I rank based on dimensions not in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241191#M91637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a question regarding ranking.&lt;/P&gt;&lt;P&gt;My qlikview app gets a user to to select a customer, there is then a chart Showing the sales for that customer by region. I would then a column that is the rank of that customers sales within that region (taking into account all customers)&lt;/P&gt;&lt;P&gt;My current formula: &lt;EM&gt;&lt;STRONG&gt;= Rank(sum([Gross Loss]))&lt;/STRONG&gt;&lt;/EM&gt; will rank the sales for the region against all regions for that one customer (i.e. just taking into account the dimensionality of the chart)&lt;/P&gt;&lt;P&gt;How would I get it to rank the sales of that customer against all other customers within that region (without showing the other customers in the table?)&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 10:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241191#M91637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-18T10:13:19Z</dc:date>
    </item>
    <item>
      <title>How do I rank based on dimensions not in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241192#M91638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just guessing a bit here, but set analysis should do the trick for you, try something like:&lt;/P&gt;&lt;P&gt;Rank ( Sum ( { $ &amp;lt; Customer = {"*"} &amp;gt; [Gross Loss] ) )&lt;/P&gt;&lt;P&gt;Hopefully this will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 14:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241192#M91638</guid>
      <dc:creator />
      <dc:date>2010-02-18T14:04:35Z</dc:date>
    </item>
    <item>
      <title>How do I rank based on dimensions not in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241193#M91639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Nigel,&lt;/P&gt;&lt;P&gt;it's helped my understanding a bit more but still doesn't give the answer I want yet, but I'm a little closer.&lt;/P&gt;&lt;P&gt;I'll attatch a really basic example so you can see what I mean a bit easier. I've just created some nonsense data to keep the model simple.&lt;/P&gt;&lt;P&gt;For my basic ranking formula: rank(sum(Sales) the customer Steve is ranking 3rd for region Canada - this appears to be calculating the region Canada within Steves sales. Canada ranks 3rd for Sales to Steve.&lt;/P&gt;&lt;P&gt;The formula you gave me: rank(sum({&amp;lt;Customer={*}&amp;gt;}Sales) puts Canada as 2nd. It's ignoring my selection of Customer and telling me Canada is the region with the 2nd highest Sales.&lt;/P&gt;&lt;P&gt;What I want is for the region Canada the rank of Steve by sales against all customers: in my example data he should be 4th.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 15:20:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241193#M91639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-18T15:20:10Z</dc:date>
    </item>
    <item>
      <title>How do I rank based on dimensions not in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241194#M91640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if you ever got an answer, but you could try this based on the example you attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;rank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;Region={"*"}&amp;gt;}Sales))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 18:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241194#M91640</guid>
      <dc:creator />
      <dc:date>2011-01-07T18:53:04Z</dc:date>
    </item>
    <item>
      <title>How do I rank based on dimensions not in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241195#M91641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using aggr function...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(rank(sum({&amp;lt;Customer={"*"}&amp;gt;}Sales)),Customer)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 15:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-rank-based-on-dimensions-not-in-a-chart/m-p/241195#M91641</guid>
      <dc:creator>derekjones</dc:creator>
      <dc:date>2011-02-17T15:48:50Z</dc:date>
    </item>
  </channel>
</rss>

