<?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: LOAD the latest record with duplicate LastUpdatedDates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110070#M897986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Email,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; FirstSortedValue(ID, -([Last Update Date]*1000+ID)) as ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; FirstSortedValue([Last Update Date], -([Last Update Date]*1000+ID)) as [Last Update Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By Email;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Email, Last Update Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;, 10/06/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;, 22/03/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;, 10/06/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;, 03/01/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2016 14:49:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-07-20T14:49:21Z</dc:date>
    <item>
      <title>LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110068#M897984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV12 SR3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wondering the best way to LOAD the latest record when my dataset has this sort of thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Email&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Last Update Date&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com" target="_blank"&gt;me@somewhere.com&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 173px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="173"&gt;10/06/2016&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com" target="_blank"&gt;me@somewhere.com&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22/03/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com" target="_blank"&gt;me@somewhere.com&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10/06/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com" target="_blank"&gt;me@somewhere.com&lt;/A&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;03/01/2016&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the latest record based on [Last Update Date] and then if they are equal (ID 1 &amp;amp; 3 above for example) then the highest ID value (ID is an autonumber) - which would leave me with just one record per email address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a case of preceding FirstSortedValues (if that's possible?) or is there a better way ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers appreciated&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/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110068#M897984</guid>
      <dc:creator>haymarketpaul</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110069#M897985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Incremental load, See the below link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/qlikview-incremental-load/" title="http://www.quickintelligence.co.uk/qlikview-incremental-load/"&gt;http://www.quickintelligence.co.uk/qlikview-incremental-load/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110069#M897985</guid>
      <dc:creator>narendiran</dc:creator>
      <dc:date>2016-07-20T14:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110070#M897986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Email,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; FirstSortedValue(ID, -([Last Update Date]*1000+ID)) as ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; FirstSortedValue([Last Update Date], -([Last Update Date]*1000+ID)) as [Last Update Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By Email;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Email, Last Update Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;, 10/06/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;, 22/03/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;, 10/06/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;, 03/01/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110070#M897986</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-20T14:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110071#M897987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this method&lt;/P&gt;&lt;P&gt; find &lt;STRONG&gt;max(Last update Date)&lt;/STRONG&gt; in existing record then &lt;STRONG&gt;concatenate&lt;/STRONG&gt; with new record &lt;STRONG&gt;where not exists(date) and not exists(Email) &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110071#M897987</guid>
      <dc:creator>Ponkaviyarasu</dc:creator>
      <dc:date>2016-07-20T14:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110072#M897988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&lt;SPAN style="font-size: 13.3333px;"&gt;----------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;Load ID, Email, Date(Date) as LastUpdatedDate;&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Email, Date&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:123@abc.com"&gt;123@abc.com&lt;/A&gt;&lt;SPAN&gt;, 42571&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:123@abc.com"&gt;123@abc.com&lt;/A&gt;&lt;SPAN&gt;, 42557&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:123@abc.com"&gt;123@abc.com&lt;/A&gt;&lt;SPAN&gt;, 42571&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:123@abc.com"&gt;123@abc.com&lt;/A&gt;&lt;SPAN&gt;, 42565&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:123@abc.com"&gt;123@abc.com&lt;/A&gt;&lt;SPAN&gt;, 42514&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;Test2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;FirstSortedValue(ID,LastUpdatedDate) as ID&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;Test&lt;/P&gt;&lt;P&gt;Group By LastUpdatedDate;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;Load * resident Test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Test;&lt;/P&gt;&lt;P&gt;//----------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;You can sort the records from the sort menu of Table Box properties based on requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sakir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110072#M897988</guid>
      <dc:creator />
      <dc:date>2016-07-20T15:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110073#M897989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;first of all i'd say Sunny's suggestion is the most appropriate for this case (works perfect, less code, better performance, etc.). &lt;/P&gt;&lt;P&gt;Just to add another possible option here's a solution using inner join operations (more basic solution):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID,Email,Last Update Date&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;,10/06/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;,22/03/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;,10/06/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN&gt;,03/01/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:you@somewhere.com"&gt;you@somewhere.com&lt;/A&gt;&lt;SPAN&gt;,03/01/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:you@somewhere.com"&gt;you@somewhere.com&lt;/A&gt;&lt;SPAN&gt;,03/08/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN(Table)&lt;/P&gt;&lt;P&gt;LOAD Email,MAX([Last Update Date]) as [Last Update Date] RESIDENT Table GROUP BY Email;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN(Table)&lt;/P&gt;&lt;P&gt;LOAD Email,MAX(ID) as ID RESIDENT Table GROUP BY Email;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110073#M897989</guid>
      <dc:creator>santiago_respane</dc:creator>
      <dc:date>2016-07-20T15:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110074#M897990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect - Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110074#M897990</guid>
      <dc:creator>haymarketpaul</dc:creator>
      <dc:date>2016-07-20T15:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110075#M897991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have encountered an issue - in some cases both the Last Update Date and ID are identical (although some other data is different).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to blank (NULL) the Last Update Date and ID fields for that email address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some way of ensuring that if they are identical that the field remains populated?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110075#M897991</guid>
      <dc:creator>haymarketpaul</dc:creator>
      <dc:date>2016-07-22T13:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110076#M897992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD Email,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; FirstSortedValue(&lt;SPAN style="color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; ID, -([Last Update Date]*1000+ID)) as ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; FirstSortedValue(&lt;SPAN style="color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; [Last Update Date], -([Last Update Date]*1000+ID)) as [Last Update Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Group By Email;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Email, Last Update Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;, 10/06/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;, 22/03/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;, 10/06/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@somewhere.com" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;me@somewhere.com&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;, 03/01/2016&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110076#M897992</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-22T13:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110077#M897993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i got it......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISTINCT &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110077#M897993</guid>
      <dc:creator>haymarketpaul</dc:creator>
      <dc:date>2016-07-22T13:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110078#M897994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks - saw it in another post you replied to&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1110078#M897994</guid>
      <dc:creator>haymarketpaul</dc:creator>
      <dc:date>2016-07-22T13:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD the latest record with duplicate LastUpdatedDates</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1804565#M1212000</link>
      <description>&lt;P&gt;Hi, thank you for the information, it is very useful. But I have a problem when using it in my script.&lt;/P&gt;&lt;P&gt;I have more dimensions.&lt;/P&gt;&lt;P&gt;If I put them in the Group by Clause, the duplicates appear againg, because there are dimensions with different values.&lt;/P&gt;&lt;P&gt;If i do not put them, Invalid expesion apears as an error.&lt;/P&gt;&lt;P&gt;Could you please help me with that?&lt;/P&gt;&lt;P&gt;I attach an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Email,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Number,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;FirstSortedValue(ID, -([Last Update Date]*1000+ID)) as ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; FirstSortedValue([Last Update Date], -([Last Update Date]*1000+ID)) as [Last Update Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By Email, Number;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ID, Email, Number, Last Update Date&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;1, me@somewhere.com, 673, 10/06/2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;2, me@somewhere.com, 619, 22/03/2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;3, me@somewhere.com, 619, 10/06/2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;4, me@somewhere.com, 619, 03/01/2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1, me@somewhere.com, 673, 10/06/2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3, me@somewhere.com, 619, 10/06/2016&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 11:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-the-latest-record-with-duplicate-LastUpdatedDates/m-p/1804565#M1212000</guid>
      <dc:creator>arnauayuso</dc:creator>
      <dc:date>2021-05-03T11:17:00Z</dc:date>
    </item>
  </channel>
</rss>

