<?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: Get Fixed Rank Regardless selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265848#M872042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use the solution that Kaushik provided and it will give you 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2016 11:02:41 GMT</pubDate>
    <dc:creator>trdandamudi</dc:creator>
    <dc:date>2016-11-17T11:02:41Z</dc:date>
    <item>
      <title>Get Fixed Rank Regardless selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265843#M872037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning people,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been facing a problem solving a fixed rank.&lt;/P&gt;&lt;P&gt;So I hope you can help me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached an example so it will be simpler for you to understand my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 fields: Cod, Val1 and Val2.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="fields.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144111_fields.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In table Rank, I have the sum of val1 and val2 for each cod. And I have the rank of that sum for each val.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rank.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/144122_rank.png" style="height: 101px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the last two columns I have the sum of ranks of val1 and val2 for each cod, and the rank of this sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Cod A is 4th in Rank of Val1 and 2nd in Rank of val2, so, the sum of ranks is 4+2 = 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My idea is, the cod which has the less number of Total Ranks Sum is the best cod.&lt;/P&gt;&lt;P&gt;Which in this case gives me that cod B is the best cod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far so good? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally here comes my problem:&lt;/P&gt;&lt;P&gt;I want that, when I select a single cod, A, for example, the rank doesn´t change, it stays the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;I've choose A and rank of Val1 and Rank of Val2 stayed the same:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="a.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/144123_a.png" style="height: 85px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;But I can't find the way to keep "Rank of Total Ranks Sum" the same too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I want that when I choose A, "Rank of Total Ranks Sum" gives me value 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced,&lt;/P&gt;&lt;P&gt;Sílvia&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/Get-Fixed-Rank-Regardless-selection/m-p/1265843#M872037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get Fixed Rank Regardless selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265844#M872038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is ok for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144120_Capture.PNG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 10:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265844#M872038</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-17T10:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get Fixed Rank Regardless selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265845#M872039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Rank( Sum({1}aggr(rank(sum({&amp;lt;Cod=&amp;gt;} Val1),0,1),Cod)+aggr(rank(sum({&amp;lt;Cod=&amp;gt;} Val2),0,1),Cod))*-1),Cod)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 10:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265845#M872039</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-11-17T10:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get Fixed Rank Regardless selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265846#M872040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, but I guess I didn't get what your saying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that when I select cod A, column "Rank of Total Ranks Sum", gives me the value 3.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rank highlight.png" class="jive-image image-1" src="/legacyfs/online/144124_rank highlight.png" style="height: 124px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in Fixed Rank table should appear:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rank a with 3.png" class="jive-image image-2" src="/legacyfs/online/144137_rank a with 3.png" style="height: 96px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sílvia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 10:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265846#M872040</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T10:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get Fixed Rank Regardless selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265847#M872041</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;Did you try the expression I gave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 10:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265847#M872041</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-11-17T10:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get Fixed Rank Regardless selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265848#M872042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use the solution that Kaushik provided and it will give you 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265848#M872042</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-11-17T11:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Get Fixed Rank Regardless selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265849#M872043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, The problem with Aggregation. Here, you've using without any filter aggregation flag. You may required &lt;STRONG&gt;Sum({1}...)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Kaushik shared, It suits same as you expect &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265849#M872043</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-17T11:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get Fixed Rank Regardless selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265850#M872044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did try your expression, but is still not giving me 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sílvia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265850#M872044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T11:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get Fixed Rank Regardless selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265851#M872046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please resize the last column and you will see 3. I just tried and it is working....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265851#M872046</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-11-17T11:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get Fixed Rank Regardless selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265852#M872049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I told you I was missing something &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 11:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Fixed-Rank-Regardless-selection/m-p/1265852#M872049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T11:22:41Z</dc:date>
    </item>
  </channel>
</rss>

