<?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: Loading just the max record in each group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-just-the-max-record-in-each-group/m-p/402629#M697403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Left join it with the load of all fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load Index, max(date) as date from table group by Index;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join load Index, date, field1, field2 from table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2013 11:51:25 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-03-28T11:51:25Z</dc:date>
    <item>
      <title>Loading just the max record in each group</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-just-the-max-record-in-each-group/m-p/402628#M697402</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;This seems a simple issue, but I cannot find the solution on here !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table has the following fields per record:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Index, date, field1, field2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each value of Index, I want to load just the record with &lt;STRONG&gt;MAX(date).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe&lt;EM&gt; &lt;/EM&gt;&amp;nbsp; &lt;EM&gt;LOAD Index, MAX(date) from table group by Index&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do I include field1 and field2 ?&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, 28 Mar 2013 11:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-just-the-max-record-in-each-group/m-p/402628#M697402</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2013-03-28T11:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Loading just the max record in each group</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-just-the-max-record-in-each-group/m-p/402629#M697403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Left join it with the load of all fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load Index, max(date) as date from table group by Index;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join load Index, date, field1, field2 from table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 11:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-just-the-max-record-in-each-group/m-p/402629#M697403</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-28T11:51:25Z</dc:date>
    </item>
  </channel>
</rss>

