<?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: Rank () is not working as expected. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391547#M815039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached qvw file for just explaining Rank functionality but it does not seems the "-" will effect your rank kindly check your expression with one by one adding the dimension and check with the expression also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with the HIC here also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 12:55:45 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2017-09-11T12:55:45Z</dc:date>
    <item>
      <title>Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391536#M815028</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 one pivot table chart in which i am showing data based on TOP 20 Negetive Difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now table now showing 2nd rank, it is showing 1,3,4,5,6,7 and so on.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" height="303" src="https://community.qlik.com/legacyfs/online/176100_pastedImage_0.png" style="width: 437px; height: 303.081px;" width="437" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one suggest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&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/Rank-is-not-working-as-expected/m-p/1391536#M815028</guid>
      <dc:creator>infosense_devel</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391537#M815029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the calculated dimension used to calculate Rank?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391537#M815029</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T12:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391538#M815030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have to rank our customer_group based on "Difference" column (third from the right in screenshot), so we are using same expression which we are using in "Difference" column and we are just aggr() it by "Customer Group" dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391538#M815030</guid>
      <dc:creator>infosense_devel</dc:creator>
      <dc:date>2017-09-11T12:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391539#M815031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=aggr(rank(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CurrentYear_Invoice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PY_Invoice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ))&lt;/P&gt;&lt;P&gt;*-1),Customer_Group)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391539#M815031</guid>
      <dc:creator>infosense_devel</dc:creator>
      <dc:date>2017-09-11T12:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391540#M815032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great, but what is the expression &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, 11 Sep 2017 12:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391540#M815032</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T12:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391541#M815033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try creating a new chart with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;Customer_Group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Rank(CurrentYear_Invoice - PY_Invoice))*-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then see that are you getting RANK 2 for any Customer_Group or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391541#M815033</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T12:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391542#M815034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=aggr(rank (&lt;SPAN style="color: red;"&gt;only{1}(&lt;/SPAN&gt;CurrentYear_Invoice-PY_Invoice))*-1) ),Customer_Group)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391542#M815034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-11T12:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391543#M815035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey did you use more dimensions on this chart where you calculate rank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391543#M815035</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-11T12:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391544#M815036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rank() is tricky...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can skip number "2" if there is more than one that ranks highest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, you seem to have multiple dimensions. Then you need to be on top of whether the Rank() refers to the last dimension only or whether it is for the total. See picture below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Rank.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176114_Rank.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391544#M815036</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2017-09-11T12:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391545#M815037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on the parameters of the Rank expression, it looks like you have a tie for first place or for second place. The optional 3rd parametert determines how ties are handled (rank up or down).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391545#M815037</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-09-11T12:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391546#M815038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got the reason.. customer_group is "-" for rank 2.....&lt;/P&gt;&lt;P&gt;as soon as i removed all dimension from table and added again it shows rank 2 with "-".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391546#M815038</guid>
      <dc:creator>infosense_devel</dc:creator>
      <dc:date>2017-09-11T12:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rank () is not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391547#M815039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached qvw file for just explaining Rank functionality but it does not seems the "-" will effect your rank kindly check your expression with one by one adding the dimension and check with the expression also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with the HIC here also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-is-not-working-as-expected/m-p/1391547#M815039</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-11T12:55:45Z</dc:date>
    </item>
  </channel>
</rss>

