<?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: How to use FirstSortedRow and Above/Below in a table as expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-FirstSortedRow-and-Above-Below-in-a-table-as/m-p/1678054#M727193</link>
    <description>&lt;P&gt;or even this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FirstSortedValue(TOTAL &amp;lt;Client&amp;gt; Stage,-Date)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 14:02:32 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2020-02-21T14:02:32Z</dc:date>
    <item>
      <title>How to use FirstSortedRow and Above/Below in a table as expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-FirstSortedRow-and-Above-Below-in-a-table-as/m-p/1676073#M727191</link>
      <description>&lt;P&gt;Hi Community!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently trying to use the FirstSortedRow and Above/Below functions in a combination.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data mainly contains of Client,Date &amp;amp; Stage. I would like to add a column which calculates the status per max date and group it by client. &lt;U&gt;I have done in in the back-end (Script) with the help of this thread (&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Get-Max-Date-and-Max-Value-of-a-ID/td-p/1095223" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Development/Get-Max-Date-and-Max-Value-of-a-ID/td-p/1095223&lt;/A&gt;) and it works well, however the requirement now in using it as expression.&amp;nbsp;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I calculated max_date with:&amp;nbsp;=Max(Total&amp;lt;Client&amp;gt;Date)&lt;BR /&gt;I calculated max_datestatus:&amp;nbsp;=if(Date=Max(TOTAL &amp;lt;Client&amp;gt;Date),Only(Stage))&lt;/P&gt;&lt;P&gt;Current Result:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Question_QlikView-1.JPG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28483i3D09AC08337076AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Question_QlikView-1.JPG" alt="Question_QlikView-1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ideally:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Question_QlikView-2.JPG" style="width: 312px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28485i8754AC6221558CF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Question_QlikView-2.JPG" alt="Question_QlikView-2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-FirstSortedRow-and-Above-Below-in-a-table-as/m-p/1676073#M727191</guid>
      <dc:creator>mrichman</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use FirstSortedRow and Above/Below in a table as expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-FirstSortedRow-and-Above-Below-in-a-table-as/m-p/1678048#M727192</link>
      <description>&lt;P&gt;Hi Mrichman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use below set analysis as measure.&lt;/P&gt;&lt;P&gt;Aggr(Nodistinct FirstSortedValue(Stage,-Date),Client)&lt;/P&gt;&lt;P&gt;Hope this will help!!!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 13:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-FirstSortedRow-and-Above-Below-in-a-table-as/m-p/1678048#M727192</guid>
      <dc:creator>sagarjagga</dc:creator>
      <dc:date>2020-02-21T13:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use FirstSortedRow and Above/Below in a table as expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-FirstSortedRow-and-Above-Below-in-a-table-as/m-p/1678054#M727193</link>
      <description>&lt;P&gt;or even this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FirstSortedValue(TOTAL &amp;lt;Client&amp;gt; Stage,-Date)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 14:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-FirstSortedRow-and-Above-Below-in-a-table-as/m-p/1678054#M727193</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-21T14:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use FirstSortedRow and Above/Below in a table as expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-FirstSortedRow-and-Above-Below-in-a-table-as/m-p/1683937#M727194</link>
      <description>&lt;P&gt;Did either of the two posts get you what you needed?&amp;nbsp; If so, do not forget to close out your thread by returning and on the post that helped, use the Accept as Solution button to mark that post as the correct answer to give the poster credit and let other Members know that worked for you.&amp;nbsp; If you are still working on things, please leave an update, and if you did something different, please consider posting what that was and once posted, use the button on that post to close the thread.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 19:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-FirstSortedRow-and-Above-Below-in-a-table-as/m-p/1683937#M727194</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-03-11T19:05:31Z</dc:date>
    </item>
  </channel>
</rss>

