<?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: FirstSortedValue Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Issue/m-p/672399#M1055280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, that works to give me one of the keys for the third ranked value, but I still can't get the second key that also has that same third value.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2014 18:29:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-21T18:29:44Z</dc:date>
    <item>
      <title>FirstSortedValue Issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Issue/m-p/672397#M1055276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to return ID's based on their ranking in the sales field but the issue is when the 2 ID's have the same sales FirstSortedValue returns null instead of the ID. For example FirstSortedValue(Id,Sales,3) and FirstSortedValue(Id,Sales,4) return null. Please advise, thanks!&lt;/P&gt;&lt;P&gt;Keep Qliking!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 18:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Issue/m-p/672397#M1055276</guid>
      <dc:creator />
      <dc:date>2014-10-21T18:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Issue/m-p/672398#M1055278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding 'distinct' . The expression editor flags it but its saved my bacon a few times &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;=FirstSortedValue( distinct ID,-Sales,3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 18:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Issue/m-p/672398#M1055278</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-21T18:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Issue/m-p/672399#M1055280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, that works to give me one of the keys for the third ranked value, but I still can't get the second key that also has that same third value.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 18:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Issue/m-p/672399#M1055280</guid>
      <dc:creator />
      <dc:date>2014-10-21T18:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue Issue</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-Issue/m-p/672400#M1055282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;=FirstSortedValue( Aggr(Concat(ID,','),Sales),-Aggr(Sales,Sales),3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/591156"&gt;Firstsortedvalue&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 18:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-Issue/m-p/672400#M1055282</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-10-21T18:32:39Z</dc:date>
    </item>
  </channel>
</rss>

