<?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 Choose the latest date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Choose-the-latest-date/m-p/234278#M85724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;A&gt;&lt;/A&gt; &lt;STRONG&gt;&lt;A&gt;tauqueer&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;Your code work well.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kzorrw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 May 2010 08:03:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-07T08:03:51Z</dc:date>
    <item>
      <title>Choose the latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-the-latest-date/m-p/234276#M85722</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;I got problem,&lt;/P&gt;&lt;P&gt;That is, how can i choose the latest date from the source.&lt;/P&gt;&lt;P&gt;The File structure will be like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 144pt;" width="192"&gt;&lt;COL span="3" style="width: 48pt;" width="64" /&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt; width: 48pt;" width="64"&gt;Item&lt;/TD&gt;&lt;TD style="width: 48pt;" width="64"&gt;Date&lt;/TD&gt;&lt;TD style="width: 48pt;" width="64"&gt;Price&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1/5/2010&lt;/TD&gt;&lt;TD align="right"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;3/5/2010&lt;/TD&gt;&lt;TD align="right"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;6/5/2010&lt;/TD&gt;&lt;TD align="right"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1/5/2010&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;5/5/2010&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I want to extract the record is Only Item A (6/5/2010) and Item B (5/5/2010)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;kzorrw&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; height: 62px;" width="60"&gt;&lt;COL span="3" style="width: 48pt;" width="64" /&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt; width: 48pt;" width="64"&gt;&lt;/TD&gt;&lt;TD style="width: 48pt;" width="64"&gt;&lt;/TD&gt;&lt;TD style="width: 48pt;" width="64"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="height: 15pt;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 02:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-the-latest-date/m-p/234276#M85722</guid>
      <dc:creator />
      <dc:date>2010-05-07T02:28:08Z</dc:date>
    </item>
    <item>
      <title>Choose the latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-the-latest-date/m-p/234277#M85723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can use the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Item, Date, Price&lt;/P&gt;&lt;P&gt;A, 1/5/2010, 12&lt;/P&gt;&lt;P&gt;A, 3/5/2010, 15&lt;/P&gt;&lt;P&gt;A, 6/5/2010, 16&lt;/P&gt;&lt;P&gt;B, 1/5/2010, 1&lt;/P&gt;&lt;P&gt;B, 5/5/2010, 3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;load Item,max(Date) as maximum resident tab1 group by Item;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should work fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 07:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-the-latest-date/m-p/234277#M85723</guid>
      <dc:creator />
      <dc:date>2010-05-07T07:52:02Z</dc:date>
    </item>
    <item>
      <title>Choose the latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-the-latest-date/m-p/234278#M85724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;A&gt;&lt;/A&gt; &lt;STRONG&gt;&lt;A&gt;tauqueer&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;Your code work well.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kzorrw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 08:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-the-latest-date/m-p/234278#M85724</guid>
      <dc:creator />
      <dc:date>2010-05-07T08:03:51Z</dc:date>
    </item>
    <item>
      <title>Choose the latest date</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-the-latest-date/m-p/234279#M85725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tab1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Item, Date, Price&lt;/P&gt;&lt;P&gt;A, 1/5/2010, 12&lt;/P&gt;&lt;P&gt;A, 3/5/2010, 15&lt;/P&gt;&lt;P&gt;A, 6/5/2010, 16&lt;/P&gt;&lt;P&gt;B, 1/5/2010, 1&lt;/P&gt;&lt;P&gt;B, 5/5/2010, 3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;inner keep &lt;/STRONG&gt;load Item,max(Date) &lt;STRONG&gt;as Date &lt;/STRONG&gt;resident tab1 group by Item;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this way you will only get the latest record per each item.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 13:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-the-latest-date/m-p/234279#M85725</guid>
      <dc:creator />
      <dc:date>2012-03-02T13:55:55Z</dc:date>
    </item>
  </channel>
</rss>

