<?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 Load only rows with max date by ID in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1737789#M590930</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have data where a small number of rows can be duplicates except for 1 date field. In these instances, I only want to load the row with the max date. There are other columns in the data, but essentially I'm after the result below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG.JPG" style="width: 303px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39420i04D757A670C3F284/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG.JPG" alt="IMG.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
    <pubDate>Fri, 21 Aug 2020 13:45:52 GMT</pubDate>
    <dc:creator>zakpullen</dc:creator>
    <dc:date>2020-08-21T13:45:52Z</dc:date>
    <item>
      <title>Load only rows with max date by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1737789#M590930</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have data where a small number of rows can be duplicates except for 1 date field. In these instances, I only want to load the row with the max date. There are other columns in the data, but essentially I'm after the result below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG.JPG" style="width: 303px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39420i04D757A670C3F284/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG.JPG" alt="IMG.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 13:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1737789#M590930</guid>
      <dc:creator>zakpullen</dc:creator>
      <dc:date>2020-08-21T13:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load only rows with max date by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1737805#M590932</link>
      <description>&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;load ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;date(max([ Expiry Date])) as&amp;nbsp;[ Expiry Date]&lt;/P&gt;&lt;P&gt;FROM Table&lt;/P&gt;&lt;P&gt;group by ID;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 14:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1737805#M590932</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-21T14:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load only rows with max date by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1737813#M590935</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DesiredTable:
NOCONCATENATE
LOAD *
RESIDENT SourceTable
WHERE ID &amp;lt;&amp;gt; Previous(ID)
ORDER BY ID, [Expiry Date] DESC
;

DROP TABLE SourceTable;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 14:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1737813#M590935</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2020-08-21T14:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Load only rows with max date by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1739214#M590936</link>
      <description>&lt;P&gt;Thanks. I used a variation of this&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 15:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1739214#M590936</guid>
      <dc:creator>zakpullen</dc:creator>
      <dc:date>2020-08-27T15:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Load only rows with max date by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1739215#M590937</link>
      <description>&lt;P&gt;Thanks. I went ahead with the first reply, but I did play around with this and it worked. It's a new technique to me that I may use in the future.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 15:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-rows-with-max-date-by-ID/m-p/1739215#M590937</guid>
      <dc:creator>zakpullen</dc:creator>
      <dc:date>2020-08-27T15:26:09Z</dc:date>
    </item>
  </channel>
</rss>

