<?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: Find the rank of multiple ranked fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8291#M781821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have thanks, as well as adding the four ranks together and then doing an overall ranking on that result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2018 11:55:48 GMT</pubDate>
    <dc:creator>9917mark</dc:creator>
    <dc:date>2018-03-26T11:55:48Z</dc:date>
    <item>
      <title>Find the rank of multiple ranked fields</title>
      <link>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8289#M781816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could I please get some help with the following.&lt;/P&gt;&lt;P&gt;I have 4 unique ranking calculation which give me the respective rank based on&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Qty of Tansactions (&lt;STRONG&gt;Rank Trans&lt;/STRONG&gt;)&lt;UL&gt;&lt;LI&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15220586364894099 jive_text_macro" jivemacro_uid="_15220586364894099"&gt;only(aggr(nodistinct rank(count(Partno),4,1), Partno))&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Qty Sold (&lt;STRONG&gt;Rank Qty&lt;/STRONG&gt;)&lt;UL&gt;&lt;LI&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15220587528805318 jive_text_macro" jivemacro_uid="_15220587528805318" modifiedtitle="true"&gt;
&lt;P&gt;only(aggr(nodistinct rank(sum(OrderQty),4,1), Partno))&lt;/P&gt;
&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Sales Value (&lt;STRONG&gt;Rank SalVal&lt;/STRONG&gt;)&lt;UL&gt;&lt;LI&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15220588060288268 jive_text_macro" jivemacro_uid="_15220588060288268"&gt;
&lt;P&gt;only(aggr(nodistinct rank(sum(TotalSales),4,1), Partno))&lt;/P&gt;
&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;GP Rands (&lt;STRONG&gt;Rank GPR&lt;/STRONG&gt;)&lt;UL&gt;&lt;LI&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15220588349393235" jivemacro_uid="_15220588349393235" modifiedtitle="true"&gt;
&lt;P&gt;only(aggr(nodistinct rank(sum(RProfit),4,1), Partno))&lt;/P&gt;
&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197464_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of which are working perfectly.&lt;/P&gt;&lt;P&gt;What I require is to get an overall ranking based on all of the previous rankings. (&lt;STRONG&gt;Rank Over)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Where currently I can only get the combined sum of the rank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie in the &lt;STRONG&gt;Rank Over&lt;/STRONG&gt; the results should display :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/197468_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help will be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8289#M781816</guid>
      <dc:creator>9917mark</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Find the rank of multiple ranked fields</title>
      <link>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8290#M781818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you already tried this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rank(Expression1, Expression2, Expression3, Expression4)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 11:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8290#M781818</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-26T11:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Find the rank of multiple ranked fields</title>
      <link>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8291#M781821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have thanks, as well as adding the four ranks together and then doing an overall ranking on that result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 11:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8291#M781821</guid>
      <dc:creator>9917mark</dc:creator>
      <dc:date>2018-03-26T11:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Find the rank of multiple ranked fields</title>
      <link>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8292#M781822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, that is what I meant&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rank(RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(count(Partno),4,1), Partno)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(sum(OrderQty),4,1), Partno)),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(sum(TotalSales),4,1), Partno)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(sum(RProfit),4,1), Partno))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you do when you add this as one of your expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 11:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8292#M781822</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-26T11:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Find the rank of multiple ranked fields</title>
      <link>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8293#M781824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok no laughing now, &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified your suggestion to get the ranking to work. (&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Rank Over&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Rank(Total(RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(count(Partno),4,1), Partno)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(sum(OrderQty),4,1), Partno)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(sum(TotalSales),4,1), Partno)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(sum(RProfit),4,1), Partno)))),4,1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;And it works perfectly except for one small problem.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;It is ranking in the reverse order ????&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;IMG alt="Capture3.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197476_Capture3.PNG" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;When I use the example you have posted I get (&lt;STRONG&gt;Sunny&lt;/STRONG&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture4.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/197486_Capture4.PNG" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;@&lt;/P&gt;&lt;H6 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG class="font-color-meta-light" style="font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;Re: Find the rank of multiple ranked fields&lt;/STRONG&gt;&lt;/H6&gt;&lt;P class="j-post-avatar" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" class="j-avatar jiveTT-hover-user" data-userid="171708" href="https://community.qlik.com/people/stalwar1" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" title="Sunny Talwar"&gt;&lt;IMG alt="Sunny Talwar" class="jive-avatar jive-image" data-avatarid="-1" data-height="46" data-random="28639013388042640" data-username="stalwar1" height="46" src="https://community.qlik.com/people/stalwar1/avatar/46.png?a=-1" style="border-width: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" title="Sunny Talwar" width="46" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author" style="font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 11.7px; font-family: inherit;"&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-userid="171708" data-username="stalwar1" href="https://community.qlik.com/people/stalwar1" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7;"&gt;Sunny Talwar&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks for the patience&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 13:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8293#M781824</guid>
      <dc:creator>9917mark</dc:creator>
      <dc:date>2018-03-26T13:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find the rank of multiple ranked fields</title>
      <link>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8294#M781825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rank(Total(&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;-&lt;/SPAN&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(count(Partno),4,1), Partno)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(sum(OrderQty),4,1), Partno)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(sum(TotalSales),4,1), Partno)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;only(aggr(nodistinct rank(sum(RProfit),4,1), Partno)))),4,1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 13:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8294#M781825</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-26T13:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Find the rank of multiple ranked fields</title>
      <link>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8295#M781826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ok no laughing now, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="emoticon-inline emoticon_confused" style="height: 16px; width: 16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Why not? Laughing is a good thing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 13:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8295#M781826</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-26T13:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Find the rank of multiple ranked fields</title>
      <link>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8296#M781828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are a star &lt;/P&gt;&lt;H6 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" class="font-color-meta-light" href="https://community.qlik.com/message/1459641#1459641" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;Re: Find the rank of multiple ranked fields&lt;/A&gt;&lt;/STRONG&gt;&lt;/H6&gt;&lt;P class="j-post-avatar" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" class="j-avatar jiveTT-hover-user" data-avatarid="12574" data-externalid="" data-presence="null" data-userid="171708" data-username="stalwar1" href="https://community.qlik.com/people/stalwar1" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="Sunny Talwar" border="0" class="jive-avatar jive-image" data-avatarid="12574" data-height="46" data-username="stalwar1" height="46" src="https://community.qlik.com/people/stalwar1/avatar/46.png?a=12574" style="border-width: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="46" /&gt;&lt;SPAN class="j-status-levels j-gamification-status-level" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;IMG alt="Legend" class="jive-image" src="https://qvfiles.s3.amazonaws.com/community/L11.png" style="border-width: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" title="Legend" /&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author" style="font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 11.7px; font-family: inherit;"&gt;&lt;A href="https://community.qlik.com/people/stalwar1"&gt;stalwar1&lt;/A&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate all the help with this. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 13:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-the-rank-of-multiple-ranked-fields/m-p/8296#M781828</guid>
      <dc:creator>9917mark</dc:creator>
      <dc:date>2018-03-26T13:40:36Z</dc:date>
    </item>
  </channel>
</rss>

