<?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 Ranking expression without using dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311136#M579020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you able to get the area you can use the below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;CYTD={1},Brand={'xy'},Area={&lt;STRONG&gt;somearea&lt;/STRONG&gt;}&amp;gt;}aggr(Rank(Sum({&amp;lt;CYTD={1}&amp;gt;}TotalSales)),Area,Brand))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;somearea is any one area you should mention and it will return the rank of the brand in that area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 06:34:58 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-02-23T06:34:58Z</dc:date>
    <item>
      <title>Ranking expression without using dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311133#M579017</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;&lt;/P&gt;&lt;P&gt;I would need your help with a problem I'm currently trying to solve (if it can be solved at all)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using geoqlik to show maps, the problem is, that I cant use a dimension in their forground analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know if it is possible to solve the following problem without a dimension or by putting a dimension into an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to color area, I would need to get the rank for Brand XY based on Sum(Sales) in each area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the solution in a basic table where I can sort the rank and it looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(rank(sum({&amp;lt;CYTD={1}&amp;gt;}Sales)),Area,Brand)&amp;nbsp; but here I have a calculated dimension: if(Brand='xy', Brand)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then it shows me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Area&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xyz1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;xyz2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;xyz3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;xyz4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So would it be possible to bring this Expression and the calculated Dimension together into an Expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You genious ideas are much appreciated..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 04:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311133#M579017</guid>
      <dc:creator />
      <dc:date>2012-02-23T04:20:34Z</dc:date>
    </item>
    <item>
      <title>Ranking expression without using dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311134#M579018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =aggr(rank(sum({&amp;lt;CYTD={1},Brand={'xy'}&amp;gt;}Sales)),Area)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 04:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311134#M579018</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-23T04:27:55Z</dc:date>
    </item>
    <item>
      <title>Ranking expression without using dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311135#M579019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Calambarasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also a very helpful expression for me but with this expression I get the complete area ranking...basically area 1-10, but what I was looking for is the rank in EACH area based on the sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meaning, look at all the sales in Area 1, where does Brand 'xy' stands?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So its the rank of Brand 'xy' in each of the areas what I am looking for..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any suggestion how to change the expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 05:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311135#M579019</guid>
      <dc:creator />
      <dc:date>2012-02-23T05:47:44Z</dc:date>
    </item>
    <item>
      <title>Ranking expression without using dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311136#M579020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you able to get the area you can use the below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;CYTD={1},Brand={'xy'},Area={&lt;STRONG&gt;somearea&lt;/STRONG&gt;}&amp;gt;}aggr(Rank(Sum({&amp;lt;CYTD={1}&amp;gt;}TotalSales)),Area,Brand))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;somearea is any one area you should mention and it will return the rank of the brand in that area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 06:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311136#M579020</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-23T06:34:58Z</dc:date>
    </item>
    <item>
      <title>Ranking expression without using dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311137#M579021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Celambarasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats another even more interesting expression, which will also partly help me when I want to have a closer look into 1 or 2 areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we have like 40 areas with 200 subareas and I would like to show on a map where brand 'xy' is rank 1 or rank 2, so your approach here is very interesting but not really suitable for me if I need to look at all the areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way I would be able to show this without specifying the area?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 06:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311137#M579021</guid>
      <dc:creator />
      <dc:date>2012-02-23T06:59:34Z</dc:date>
    </item>
    <item>
      <title>Ranking expression without using dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311138#M579022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you have area dimension here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 07:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311138#M579022</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-23T07:01:25Z</dc:date>
    </item>
    <item>
      <title>Ranking expression without using dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311139#M579023</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;Can you attach the sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 07:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311139#M579023</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-02-23T07:07:23Z</dc:date>
    </item>
    <item>
      <title>Ranking expression without using dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311140#M579024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you have area dimension then try this without area in set analysis like below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;CYTD={1},Brand={'xy'}&amp;gt;}aggr(Rank(Sum({&amp;lt;CYTD={1}&amp;gt;}TotalSales)),Area,Brand))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 07:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311140#M579024</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-23T07:11:07Z</dc:date>
    </item>
    <item>
      <title>Ranking expression without using dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311141#M579025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are a genius! That is exactly what I was looking for!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 07:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-expression-without-using-dimension/m-p/311141#M579025</guid>
      <dc:creator />
      <dc:date>2012-02-23T07:25:20Z</dc:date>
    </item>
  </channel>
</rss>

