<?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: Show only one value based on rank in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192482#M54129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Aggr(if(Rank( Sum(Value))=1,&amp;nbsp; productnumber),productnumber))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;PCordeiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2016 13:00:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-05-27T13:00:38Z</dc:date>
    <item>
      <title>Show only one value based on rank</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192478#M54125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a table chart with a product code as its first dimension and a formula calulating a sum for each line.&lt;/P&gt;&lt;P&gt;The data is sorted by the sums in ascending order.&lt;/P&gt;&lt;P&gt;I now need to have this table only show, let's say, position 3 in this table. What is the best way to achieve this? I guess it needs sum "rank" and "if" but I just don't seem to get it right.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 10:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192478#M54125</guid>
      <dc:creator />
      <dc:date>2010-09-08T10:56:50Z</dc:date>
    </item>
    <item>
      <title>Show only one value based on rank</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192479#M54126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about creating a calculated dimension that only returns a dummy value if the row is one you want else returns null? You can then set 'suppress when value is null' for the calculated dimension and by hiding the column (see Presentation) it doesnt get displayed.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 11:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192479#M54126</guid>
      <dc:creator />
      <dc:date>2010-09-08T11:30:53Z</dc:date>
    </item>
    <item>
      <title>Show only one value based on rank</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192480#M54127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm, well, could you please give me a clue how to do that. I guess I'd be something like:&lt;/P&gt;&lt;P&gt;=if(rank(aggr(sum(amount), Productnumber) = 3, Productnumber) (I now this does not work)&lt;/P&gt;&lt;P&gt;But that doesn't work at all... please advise.&lt;/P&gt;&lt;P&gt;What I want to do: Make a table with sums collected from recordsets with product numbers and amounts (no problem), sort it by sum(amount) (no problem) and show only the third line in the resulting table.&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 13:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192480#M54127</guid>
      <dc:creator />
      <dc:date>2010-09-08T13:05:57Z</dc:date>
    </item>
    <item>
      <title>Show only one value based on rank</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192481#M54128</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;I'm also looking for a solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I tried was something like Gordon suggested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(rank(Sum(mymeasure))=1,'This is rank 1',NULL())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it seems that it does not really work. The Null values are shown, also if zero suppresion is on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you try it only with e.g. sum(xy)&amp;gt;10000 then it works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Björn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 14:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192481#M54128</guid>
      <dc:creator />
      <dc:date>2011-07-08T14:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Show only one value based on rank</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192482#M54129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Aggr(if(Rank( Sum(Value))=1,&amp;nbsp; productnumber),productnumber))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;PCordeiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 13:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-one-value-based-on-rank/m-p/192482#M54129</guid>
      <dc:creator />
      <dc:date>2016-05-27T13:00:38Z</dc:date>
    </item>
  </channel>
</rss>

