<?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 - expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-expression-help/m-p/1223341#M867704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;[TM Event Name] = {'Metal Wear Reading'}&amp;gt;}&lt;/SPAN&gt;[TM Event Value], -[TM Event Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 17:00:00 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-12-07T17:00:00Z</dc:date>
    <item>
      <title>Firstsortedvalue - expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-expression-help/m-p/1223340#M867703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if someone could help me with a FirstSortedValue() expression.&amp;nbsp; I have create a simple FirstSortedValue() expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FirstSortedValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TM Event Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, -&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TM Event Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This returns the Event value of the maximum date and does as it is suppose too.&amp;nbsp; However, I would like to add the condition '[TM Event Name] = 'Metal Wear Reading' to the FirstSortedValue() expression but I am not completely sure how to integrate it - should I use an aggr() or maybe include it in some set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any help on this would be greatly apprectaited.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Many thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Brian&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&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/Firstsortedvalue-expression-help/m-p/1223340#M867703</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Firstsortedvalue - expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-expression-help/m-p/1223341#M867704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;[TM Event Name] = {'Metal Wear Reading'}&amp;gt;}&lt;/SPAN&gt;[TM Event Value], -[TM Event Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Firstsortedvalue-expression-help/m-p/1223341#M867704</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-07T17:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Firstsortedvalue - expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Firstsortedvalue-expression-help/m-p/1223342#M867705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny that has seem to do the trick!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much Appreciated - Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 08:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Firstsortedvalue-expression-help/m-p/1223342#M867705</guid>
      <dc:creator />
      <dc:date>2016-12-08T08:38:41Z</dc:date>
    </item>
  </channel>
</rss>

