<?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: Overall ranking within a table containing several dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848445#M533000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is still not matching my needs.&lt;/P&gt;&lt;P&gt;This is I get from the expression:&lt;IMG alt="CaptureOverallRanking.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85366_CaptureOverallRanking.PNG" style="font-size: 13.3333330154419px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, with this set of data I would like to get:&lt;/P&gt;&lt;P&gt;241 --&amp;gt; 1&lt;/P&gt;&lt;P&gt;165 --&amp;gt; 2&lt;/P&gt;&lt;P&gt;155 --&amp;gt; 3&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to obtain the overall ranking through all rows and columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2015 14:54:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-29T14:54:49Z</dc:date>
    <item>
      <title>Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848437#M532992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with 2 dimensions (Field A is horizontal, Field B is vertical), and I need to get the global ranking through those 2 dimensions. For instance, I want to get the overall max value of this 2 dimensions table, the 2nd max value, 3rd... and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer to the attached xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until now, with the rank() and hrank() functions, I only succedeed to compute the ranking per column or per row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea to compute this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 10:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848437#M532992</guid>
      <dc:creator />
      <dc:date>2015-04-29T10:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848438#M532993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need a &lt;STRONG&gt;TOTAL&lt;/STRONG&gt;&amp;nbsp; within your rank-expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 10:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848438#M532993</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-04-29T10:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848439#M532994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;Infortunately, I had already tried the TOTAL, but it does not work actually.&lt;/P&gt;&lt;P&gt;In this particular case, it gives me the same result than without the total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 10:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848439#M532994</guid>
      <dc:creator />
      <dc:date>2015-04-29T10:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848440#M532995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: rank(max(total &amp;lt;[Field A]&amp;gt; value))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 11:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848440#M532995</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-04-29T11:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848441#M532996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This triggers an error in the expression.&lt;/P&gt;&lt;P&gt;Is it possible on your side to send a small application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 11:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848441#M532996</guid>
      <dc:creator />
      <dc:date>2015-04-29T11:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848442#M532997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could here post a small example but I think the error is only because you had used this expression without adaption to your real fieldnames. My suggestion is a generic one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 11:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848442#M532997</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-04-29T11:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848443#M532998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;I confirm that the behavior is not the one expected.&lt;/P&gt;&lt;P&gt;Please refer to the attached qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 14:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848443#M532998</guid>
      <dc:creator />
      <dc:date>2015-04-29T14:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848444#M532999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason is you have nested aggregations without an aggr-function, this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rank(max(total &amp;lt;Location&amp;gt; aggr(Sum(Price), Location)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 14:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848444#M532999</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-04-29T14:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848445#M533000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is still not matching my needs.&lt;/P&gt;&lt;P&gt;This is I get from the expression:&lt;IMG alt="CaptureOverallRanking.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85366_CaptureOverallRanking.PNG" style="font-size: 13.3333330154419px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, with this set of data I would like to get:&lt;/P&gt;&lt;P&gt;241 --&amp;gt; 1&lt;/P&gt;&lt;P&gt;165 --&amp;gt; 2&lt;/P&gt;&lt;P&gt;155 --&amp;gt; 3&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to obtain the overall ranking through all rows and columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 14:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848445#M533000</guid>
      <dc:creator />
      <dc:date>2015-04-29T14:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848446#M533001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am afraid what you are looking cannot be achieved, since the Rank function is based at column level and HRank is at row level&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 21:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848446#M533001</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-29T21:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848447#M533002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think &lt;A href="https://community.qlik.com/qlik-users/127987"&gt;RamonCova06&lt;/A&gt;&amp;nbsp; is right that it couldn't be achieved with the rank-function because in this case vertical and horizontal dimensions are mixed up. Therefore the "normal" suggestion would be to use an object with only one kind of dimension-orientation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you could work with an "ugly" workaround like the following you could keep your object-structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;substringcount($(=chr(39) &amp;amp; concat(distinct total aggr(NODISTINCT sum(Price), Location, [Product type]), ',', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(NODISTINCT sum(Price), Location, [Product type])) &amp;amp; chr(39)), ',') -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;substringcount(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Left($(=chr(39) &amp;amp; concat(distinct total aggr(NODISTINCT sum(Price), Location, [Product type]), ',', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(NODISTINCT sum(Price), Location, [Product type])) &amp;amp; chr(39)),&lt;/P&gt;&lt;P&gt;Index($(=chr(39) &amp;amp; concat(distinct total aggr(NODISTINCT sum(Price), Location, [Product type]), ',', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(NODISTINCT sum(Price), Location, [Product type])) &amp;amp; chr(39)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(Price))-1), ',') + 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe extended with additionally options for dimensionality() and/or seconddimensionality() queried per if-loop. Whereby every step will increase the complexity and might be overall with real data (too) slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 08:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848447#M533002</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-04-30T08:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Overall ranking within a table containing several dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848448#M533003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your answers and help.&lt;/P&gt;&lt;P&gt;I do not wish to go for the dirty workaround, so I will find on my side other solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 17:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Overall-ranking-within-a-table-containing-several-dimensions/m-p/848448#M533003</guid>
      <dc:creator />
      <dc:date>2015-04-30T17:20:04Z</dc:date>
    </item>
  </channel>
</rss>

