<?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: Get the Last Row from Table by Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-the-Last-Row-from-Table-by-Script/m-p/1270569#M865258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using LastValue() function:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/StringAggregationFunctions/LastValue.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/StringAggregationFunctions/LastValue.htm"&gt;LastValue - script function ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Dec 2016 19:41:11 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-12-15T19:41:11Z</dc:date>
    <item>
      <title>Get the Last Row from Table by Script</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-Last-Row-from-Table-by-Script/m-p/1270568#M865257</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;I have the following table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="72" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="height: 18px; width: 469px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;ID_TCKT&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;STATUS&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;DATE&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;TIME&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;MONTH&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;PERIOD&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;TCKT003&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Planning In Progress&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;03/10/2016&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;16:27:12&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Oct&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Oct 2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;TCKT003&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Request For Change&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;03/10/2016&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;16:27:12&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Oct&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Oct 2016&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is to get the MAX DATE/TIME with the corresponding Status. In this case both DATE/TIMEs are the same, that's why I need to get only one status and this would have to be &lt;SPAN style="text-decoration: underline;"&gt;the last row&lt;/SPAN&gt;: &lt;STRONG&gt;Request For Change&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how could I do that by Script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&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/Get-the-Last-Row-from-Table-by-Script/m-p/1270568#M865257</guid>
      <dc:creator>microwin88x</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get the Last Row from Table by Script</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-Last-Row-from-Table-by-Script/m-p/1270569#M865258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using LastValue() function:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/StringAggregationFunctions/LastValue.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/StringAggregationFunctions/LastValue.htm"&gt;LastValue - script function ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 19:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-Last-Row-from-Table-by-Script/m-p/1270569#M865258</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-15T19:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get the Last Row from Table by Script</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-Last-Row-from-Table-by-Script/m-p/1270570#M865259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;ID_TCKT,&lt;/P&gt;&lt;P&gt;Date(Max(DATE)) as MaxDate,&lt;/P&gt;&lt;P&gt;Time(Max(TIME)) as MaxTime&lt;/P&gt;&lt;P&gt;Resident Table Where STATUS = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Request For Change&lt;/SPAN&gt;';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 19:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-Last-Row-from-Table-by-Script/m-p/1270570#M865259</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2016-12-15T19:53:45Z</dc:date>
    </item>
  </channel>
</rss>

