<?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: QlikView Ranking Giving Incorrect Results in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1688862#M450523</link>
    <description>&lt;P&gt;Good question, mark here waiting some expert on it. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2020 06:23:32 GMT</pubDate>
    <dc:creator>alex00321</dc:creator>
    <dc:date>2020-03-30T06:23:32Z</dc:date>
    <item>
      <title>QlikView Ranking Giving Incorrect Results</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1687507#M450466</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;There is an issue with the ranking based on the data we have. Below is the data.&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;DIM, AMT&lt;BR /&gt;A, 276880.64&lt;BR /&gt;B, 276880.64&lt;BR /&gt;C, 34610.08&lt;BR /&gt;C, 34610.08&lt;BR /&gt;C, 34610.08&lt;BR /&gt;C, 34610.08&lt;BR /&gt;C, 34610.08&lt;BR /&gt;C, 34610.08&lt;BR /&gt;C, 34610.08&lt;BR /&gt;C, 34610.08&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When adding this calculated dimension into the chart, it give incorrect results to the ranking, suppose A,B,C should be rank as 1 because the total amount by DIM is the same amount but it ranked C as 1 and A,B as 2.&lt;/P&gt;&lt;P&gt;=aggr(Rank(Sum(AMT),4,1),DIM)&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 04:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1687507#M450466</guid>
      <dc:creator>baldwin79</dc:creator>
      <dc:date>2020-03-25T04:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Ranking Giving Incorrect Results</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1688838#M450520</link>
      <description>&lt;P&gt;Hello, any solutions for this? Or it is a well known bug for QlikView?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 02:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1688838#M450520</guid>
      <dc:creator>baldwin79</dc:creator>
      <dc:date>2020-03-30T02:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Ranking Giving Incorrect Results</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1688862#M450523</link>
      <description>&lt;P&gt;Good question, mark here waiting some expert on it. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 06:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1688862#M450523</guid>
      <dc:creator>alex00321</dc:creator>
      <dc:date>2020-03-30T06:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Ranking Giving Incorrect Results</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1689799#M450554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is this only happen to qlikview but not qliksense?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 11:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1689799#M450554</guid>
      <dc:creator>baldwin79</dc:creator>
      <dc:date>2020-04-01T11:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Ranking Giving Incorrect Results</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1689806#M450556</link>
      <description>&lt;P&gt;This is because of the precision issue of floating point numbers. If you expand your decimal precision, you would see all numbers are NOT same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 558px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31036i99F229ED949441AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That's why it is said you must be very careful when &lt;STRONG&gt;comparing&lt;/STRONG&gt;&amp;nbsp;(ranking comes after comparing)&amp;nbsp;&lt;U&gt;decimal values&lt;/U&gt; in computer world because of it's binary representation issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For better understanding have a look here:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Rounding-Errors/ba-p/1468808" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Rounding-Errors/ba-p/1468808&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Ranking-Giving-Incorrect-Results/m-p/1689806#M450556</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-04-01T13:18:44Z</dc:date>
    </item>
  </channel>
</rss>

