<?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: identifying Duplicates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391104#M819900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers Sunny, looks like I'm nearly there. I just need to do some tweaking as to whereabouts I put the code as I have a lot more to identify with other criteria. But many many thanks for your help and patience.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Aug 2017 14:56:02 GMT</pubDate>
    <dc:creator>simonwithey</dc:creator>
    <dc:date>2017-08-14T14:56:02Z</dc:date>
    <item>
      <title>identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391091#M819884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a Qlik virgin I need the help of you experts. I need to identify and set a flag against a duplicate record in a load script. Example ogf the table below. I need to check if the Id's are the same and if so i need to set a flag against the oldest date only and set the later date as OK. If the dates are equal i just need to set the first record as a duplicate. many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="242"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="15" width="119"&gt;Id&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="123"&gt;Auth Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" width="119"&gt;C0018337&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="123"&gt;19-Jul-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;C0018337&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;27-Jul-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;CX211795&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;02-Jun-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;CX211795&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;02-Jun-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;CX212198&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;08-Jun-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;CX212198&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;09-Jun-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;N0002488&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;08-Jun-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;N0002488&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;14-Jun-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;P0000740&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;12-Jun-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;P0000740&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;16-Jun-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;R0000249&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;06-Jul-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;" width="119"&gt;R0000249&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="123"&gt;25-Jul-17&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&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/identifying-Duplicates/m-p/1391091#M819884</guid>
      <dc:creator>simonwithey</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391092#M819885</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;SET DateFormat='DD-MMM-YY';&lt;/STRONG&gt;&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 * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id, Auth Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C0018337, 19-Jul-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C0018337, 27-Jul-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CX211795, 02-Jun-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CX211795, 02-Jun-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CX212198, 08-Jun-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CX212198, 09-Jun-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; N0002488, 08-Jun-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; N0002488, 14-Jun-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P0000740, 12-Jun-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P0000740, 16-Jun-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; R0000249, 06-Jul-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; R0000249, 25-Jul-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Id,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Auth Date],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Id = Previous(Id), 'Duplicate') as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Id, [Auth Date] desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="173230" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173230_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 15:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391092#M819885</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-11T15:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391093#M819886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is good advice from Sunny.&amp;nbsp; you can also do a load distinct to just eliminate the duplicates where they have the same dates and Id. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 15:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391093#M819886</guid>
      <dc:creator>dan_sullivan</dc:creator>
      <dc:date>2017-08-11T15:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391094#M819887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Id, Auth Date&lt;/P&gt;&lt;P&gt;C0018337, 19-Jul-17&lt;/P&gt;&lt;P&gt;C0018337, 27-Jul-17&lt;/P&gt;&lt;P&gt;CX211795, 02-Jun-17&lt;/P&gt;&lt;P&gt;CX211795, 02-Jun-17&lt;/P&gt;&lt;P&gt;CX212198, 08-Jun-17&lt;/P&gt;&lt;P&gt;CX212198, 09-Jun-17&lt;/P&gt;&lt;P&gt;N0002488, 08-Jun-17&lt;/P&gt;&lt;P&gt;N0002488, 14-Jun-17&lt;/P&gt;&lt;P&gt;P0000740, 12-Jun-17&lt;/P&gt;&lt;P&gt;P0000740, 16-Jun-17&lt;/P&gt;&lt;P&gt;R0000249, 06-Jul-17&lt;/P&gt;&lt;P&gt;R0000249, 25-Jul-17&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Data)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Id,&lt;/P&gt;&lt;P&gt;min([Auth Date],2) as [Auth Date],&lt;/P&gt;&lt;P&gt;'OK' as Flag&lt;/P&gt;&lt;P&gt;Resident Data Group by Id;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Id&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Auth Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Flag&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;C0018337&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;27-Jul-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;OK&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;C0018337&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;19-Jul-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;CX211795&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;02-Jun-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;CX212198&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;09-Jun-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;OK&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;CX212198&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;08-Jun-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;N0002488&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;14-Jun-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;OK&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;N0002488&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;08-Jun-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;P0000740&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;16-Jun-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;OK&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;P0000740&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;12-Jun-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;R0000249&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;25-Jul-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;OK&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;R0000249&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;06-Jul-17&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 15:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391094#M819887</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-08-11T15:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391095#M819888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simon can you mark the answer as correct and close thread if you are satisfied with the results?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 19:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391095#M819888</guid>
      <dc:creator>dan_sullivan</dc:creator>
      <dc:date>2017-08-11T19:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391096#M819889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will once I've had chance to have a play. I am a complete novice so I'm a bit slow at the moment. What I'm not sure about the responses is that the table will contain over 20,000 records (of which only about 12 will be duplicates) and the the two fields in question will not be sorted so I'm not sure if this will be an issue with the above solutions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 10:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391096#M819889</guid>
      <dc:creator>simonwithey</dc:creator>
      <dc:date>2017-08-14T10:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391097#M819890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny. Apologies for not making myself clear. I won't be typing the data in, it will be part of a non sorted data table/file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 12:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391097#M819890</guid>
      <dc:creator>simonwithey</dc:creator>
      <dc:date>2017-08-14T12:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391098#M819891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you Sunny. Apologies for not making myself clear. I won't be typing the data in, it will be part of a non sorted data table/file.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 12:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391098#M819891</guid>
      <dc:creator>simonwithey</dc:creator>
      <dc:date>2017-08-14T12:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391099#M819892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We know that.... the above was just to show how it can be done.... in your case, you will do something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SET DateFormat='DD-MMM-YY';&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD *&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #ff0000;"&gt;FROM .....;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD Id,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;[Auth Date],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Id = Previous(Id), 'Duplicate') as Flag,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;....&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Order By Id, [Auth Date] desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Red part is where you will load the data from whatever you are loading it from &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 13:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391099#M819892</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-14T13:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391100#M819893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, I'm still having issues. I've tried copying your syntax but I'm obviously doing something wrong.&lt;/P&gt;&lt;P&gt;The table is already loaded (called REP). Can I ask you to spell out the red text in idiot terms for me please. As soon as I type FROM [REP] it doesn't like it. Sorry to be a pain&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391100#M819893</guid>
      <dc:creator>simonwithey</dc:creator>
      <dc:date>2017-08-14T14:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391101#M819895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you loading the data from: database, file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple example for database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONNECT TO [Database]; // Use the button "Connect..." in the script editor for the wizard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;// Put your sql statement here to retrieve the rows&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple example for file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM File.qvd (Qvd); // type of file and options can be different, use "Table Files" button in the script editor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391101#M819895</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-08-14T14:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391102#M819896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file is already loaded (see example below). It's saying that 'Table' doesn't exist. If you could fill in where and what I should be entering to make it work I'd be very grateful. Many thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[REP]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Assessment No",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creator Name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Vehicle Manufacturer Name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Vehicle Model Name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creator Site Id",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creator Terminal Id",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Vehicle Reg",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "First Auth Date",&lt;/P&gt;&lt;P&gt;FROM [lib://VIA Motor Drive (Perf &amp;amp; Planning)/Motor Repair\MOTOR REPAIR 2017.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is REP);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;"Assessment No",&lt;/P&gt;&lt;P&gt;"First Auth Date";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinalTable:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;"Assessment No",&lt;/P&gt;&lt;P&gt;"First Auth Date",&lt;/P&gt;&lt;P&gt;If("Assessment No"=Previous("Assessment No"),'DUP','')as [DUP Flag]&lt;/P&gt;&lt;P&gt;Resident Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order By "Assessment No",[First Auth Date]desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391102#M819896</guid>
      <dc:creator>simonwithey</dc:creator>
      <dc:date>2017-08-14T14:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391103#M819898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will resident from REP instead of Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[REP]:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Assessment No",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creator Name",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Vehicle Manufacturer Name",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Vehicle Model Name",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creator Site Id",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creator Terminal Id",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Vehicle Reg",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "First Auth Date",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM [lib://VIA Motor Drive (Perf &amp;amp; Planning)/Motor Repair\MOTOR REPAIR 2017.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is REP);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Final_REP:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load &lt;SPAN style="color: #ff0000;"&gt;*,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If("Assessment No"=Previous("Assessment No"),'DUP','')as [DUP Flag]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident &lt;SPAN style="color: #ff0000;"&gt;REP&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By "Assessment No", [First Auth Date] desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Drop Table &lt;SPAN style="color: #ff0000;"&gt;REP&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391103#M819898</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-14T14:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391104#M819900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers Sunny, looks like I'm nearly there. I just need to do some tweaking as to whereabouts I put the code as I have a lot more to identify with other criteria. But many many thanks for your help and patience.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391104#M819900</guid>
      <dc:creator>simonwithey</dc:creator>
      <dc:date>2017-08-14T14:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391105#M819901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem Simon, one of us will always be there to help you out.&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>Mon, 14 Aug 2017 14:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391105#M819901</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-14T14:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391106#M819903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;PFA, Solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 15:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391106#M819903</guid>
      <dc:creator>passionate</dc:creator>
      <dc:date>2017-08-14T15:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391107#M819905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way is loading your table building a key field or flag field with all what identifies a duplicate, and on a preceding load, use the Exists() function to search for it and load only relevant values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;WHERE NOT Exists(Key)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Field1 &amp;amp; '|' &amp;amp; Field2 &amp;amp; '|' &amp;amp; Field 3 AS Key&lt;/P&gt;&lt;P&gt;FROM File;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Example attached for perusal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 16:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391107#M819905</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-08-14T16:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391108#M819908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also interested in your script of finding duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If("Assessment No"=Previous("Assessment No"),'DUP'&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;,''&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)as [DUP Flag]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;if I am not mistaken Pls educate me what does&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;,'' &lt;/STRONG&gt;&lt;STRONG style="color: #000000; font-size: 13.3333px;"&gt; part do in script (shown in red colour above)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #000000; font-size: 13.3333px;"&gt;Thanks&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 04:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391108#M819908</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-08-15T04:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391109#M819909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be sunny sleeping as he located in USA. Why don't you test in your end rather expecting from community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, The part you are expecting works as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Sample Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FieldName&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(FieldName = Previous(FieldName), 'DUP', ' ') as Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output will come like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FieldName, &lt;STRONG&gt;Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1, &lt;STRONG&gt;Space&lt;/STRONG&gt; // Because this is not the part the your if condition fulfilled.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2, &lt;STRONG&gt;Space&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3, &lt;STRONG&gt;Space&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3, DUP&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Rather, You can test for your case&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(FieldName = Previous(FieldName), 'DUP', 'Not DUP') as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 04:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391109#M819909</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-15T04:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: identifying Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391110#M819911</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>Tue, 15 Aug 2017 06:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/identifying-Duplicates/m-p/1391110#M819911</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-08-15T06:32:23Z</dc:date>
    </item>
  </channel>
</rss>

