<?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 get values correspoding to latest date? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896868#M1011499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use max(lastdate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 14:30:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-07T14:30:24Z</dc:date>
    <item>
      <title>How to get values correspoding to latest date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896862#M1011491</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 have data in source table as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample data for eg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="645"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="99"&gt;Form&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="83"&gt;ID&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="117"&gt;LastDate&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="137"&gt;NoEntries&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="94"&gt;Sum&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="115"&gt;Old&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;HYT&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;9054526&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;18/06/2007&lt;BR /&gt;&amp;nbsp; 00:00&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;988&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;02/11/2013&lt;BR /&gt;&amp;nbsp; 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;HYT&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;9054527&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;18/04/2012&lt;BR /&gt;&amp;nbsp; 00:00&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;58&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;494&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;02/11/2013&lt;BR /&gt;&amp;nbsp; 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;HYT&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;9054528&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;18/05/2012&lt;BR /&gt;&amp;nbsp; 00:00&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;02/11/2013&lt;BR /&gt;&amp;nbsp; 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show output in qvw as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 645px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="99"&gt;Form&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="83"&gt;ID&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="117"&gt;LastDate&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="137"&gt;NoEntries&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="94"&gt;Sum&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="115"&gt;Old&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;HYT&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;9054528&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;18/05/2012&lt;BR /&gt;&amp;nbsp; 00:00&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;02/11/2013&lt;BR /&gt;&amp;nbsp; 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, I need to show the rows which have latest&amp;nbsp; 'LastDate'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can anyone suggest me how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 13:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896862#M1011491</guid>
      <dc:creator />
      <dc:date>2015-05-07T13:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values correspoding to latest date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896863#M1011492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the LastDate field has no duplicate values, you may use the following expressions:&lt;/P&gt;&lt;P&gt;FirstSortedValue(ID,-LastDate)&lt;/P&gt;&lt;P&gt;FirstSortedValue(LastDate,-LastDate)&lt;/P&gt;&lt;P&gt;FirstSortedValue(NoEntries,-LastDate)&lt;/P&gt;&lt;P&gt;FirstSortedValue(Sum,-LastDate)&lt;/P&gt;&lt;P&gt;FirstSortedValue(Old,-LastDate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896863#M1011492</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2015-05-07T14:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values correspoding to latest date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896864#M1011493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use FirstSortedValue() function in the front end or the script to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue takes the following inputs: see attached image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="FirstSortedValue.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85948_FirstSortedValue.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896864#M1011493</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-07T14:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values correspoding to latest date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896865#M1011494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks. when I am using this it is not showing for each case. Instead showing overall latest values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I want for each case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896865#M1011494</guid>
      <dc:creator />
      <dc:date>2015-05-07T14:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values correspoding to latest date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896866#M1011495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks. when I am using this it is not showing for each case. Instead showing overall latest values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I want for each case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896866#M1011495</guid>
      <dc:creator />
      <dc:date>2015-05-07T14:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values correspoding to latest date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896867#M1011497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896867#M1011497</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-07T14:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values correspoding to latest date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896868#M1011499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use max(lastdate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896868#M1011499</guid>
      <dc:creator />
      <dc:date>2015-05-07T14:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values correspoding to latest date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896869#M1011501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896869#M1011501</guid>
      <dc:creator />
      <dc:date>2015-05-07T14:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values correspoding to latest date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896870#M1011503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this looks like what you wanted? (PFA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896870#M1011503</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-07T14:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values correspoding to latest date?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896871#M1011505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 09:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-values-correspoding-to-latest-date/m-p/896871#M1011505</guid>
      <dc:creator />
      <dc:date>2015-05-08T09:08:13Z</dc:date>
    </item>
  </channel>
</rss>

