<?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 Rank function problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285691#M496710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([AvB %]=0,0,rank([AvB %])) and then force the sort on numerical order on this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check in the Dimension, Suppress when value is null and in the Presentation, Suppress Missing and Suppress Zero Values checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will default the bad results to rank 0. hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 16:40:00 GMT</pubDate>
    <dc:creator>avastani</dc:creator>
    <dc:date>2012-02-07T16:40:00Z</dc:date>
    <item>
      <title>Rank function problem</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285687#M496706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a straight table with the dimension Salesman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;1. Actual = sum({&amp;lt;salestype={'DIRECT','INDIRECT'}, $(CurrentPeriod)&amp;gt;}LineAmountUSD)&lt;/P&gt;&lt;P&gt;2. Budget = SUM({&amp;lt;$(CurrentPeriod)&amp;gt;}BudgetAmountRep)&lt;/P&gt;&lt;P&gt;3. AvB % = if(Actual = 0 or Budget = 0, null(), Actual / Budget)&lt;/P&gt;&lt;P&gt;4. No. = if([AvB %]=0 or Len([AvB %]) = 0,0,rank([AvB %]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have Suppress when value is null in Dimension, Suppress Missing and Suppress Zero Values checked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I still have inactive employees showing with Rank = 0, although I specifically have suppress zero values checked. If I disable this expression, the inactive employees go away, but seems like the Rank() function is bringing them back in. Anyway to stop that possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 15:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285687#M496706</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-12-07T15:57:16Z</dc:date>
    </item>
    <item>
      <title>Rank function problem</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285688#M496707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the rank() is bringing them back in, there is a note to the Help topic for rank function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; &lt;BR /&gt;Suppression of zero values is automatically disabled when these functions are used. NULL values are disregarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hm, I remember vaguely that I fought with this some time ago, I just don't get if and how I handled this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you upload a small sample file? And on which version are you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 17:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285688#M496707</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-07T17:43:14Z</dc:date>
    </item>
    <item>
      <title>Rank function problem</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285689#M496708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is v9. I will try to upload a sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 17:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285689#M496708</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-12-07T17:54:56Z</dc:date>
    </item>
    <item>
      <title>Rank function problem</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285690#M496709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi amirvas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing the same problem as you. An&amp;nbsp; expression witj the rank funktion brings null values back into my table.&lt;BR /&gt;Did you ever find a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Jens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 15:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285690#M496709</guid>
      <dc:creator />
      <dc:date>2012-02-07T15:51:22Z</dc:date>
    </item>
    <item>
      <title>Rank function problem</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285691#M496710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([AvB %]=0,0,rank([AvB %])) and then force the sort on numerical order on this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check in the Dimension, Suppress when value is null and in the Presentation, Suppress Missing and Suppress Zero Values checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will default the bad results to rank 0. hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 16:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285691#M496710</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2012-02-07T16:40:00Z</dc:date>
    </item>
    <item>
      <title>Rank function problem</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285692#M496711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The proposed method will only give the bad results a rank of 0 - not hide them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table consists 3 expressions which use set analysis to hide unwanted rows, whick are revealed when the rank og rowno functions are used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I just want to have a line number in the table, so the user easyier can keep track of progress.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 09:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285692#M496711</guid>
      <dc:creator />
      <dc:date>2012-02-08T09:08:06Z</dc:date>
    </item>
    <item>
      <title>Rank function problem</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285693#M496712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally the Suppress 0 should hide them, but if there is any expression that is non-zero then you will see that Dimension value's Rank = 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 13:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-problem/m-p/285693#M496712</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2012-02-08T13:56:25Z</dc:date>
    </item>
  </channel>
</rss>

