<?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: Flagging Duplicates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827587#M660383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, if I am thinking this correctly, I think the only places that would be left would be the places where you have 1st duplicates cause everything else will either have Dup or NoDup. Can you do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;YourTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD If(Len(Trim(DupRec)) = 0, 'Dup', DupRec) as DupRec;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;SPAN style="font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;('Line_ID',-1) = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Line_ID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt; ,'Dup','NoDup') &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;DupRec&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #800000; font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From/Resident xyz&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order by Line_ID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it doesn't work.&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>Tue, 31 Mar 2015 12:38:23 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-03-31T12:38:23Z</dc:date>
    <item>
      <title>Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827586#M660382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can easily enough find what records are duplicated :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;peek&lt;/SPAN&gt;('Line_ID',-1) = &lt;SPAN style="color: #800000;"&gt;Line_ID&lt;/SPAN&gt; ,'Dup','NoDup') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DupRec &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this will only mark the 2nd record, I need to mark the first one as well, ie mark them both as duplicate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 12:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827586#M660382</guid>
      <dc:creator>dmac1971</dc:creator>
      <dc:date>2015-03-31T12:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827587#M660383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, if I am thinking this correctly, I think the only places that would be left would be the places where you have 1st duplicates cause everything else will either have Dup or NoDup. Can you do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;YourTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD If(Len(Trim(DupRec)) = 0, 'Dup', DupRec) as DupRec;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;SPAN style="font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;('Line_ID',-1) = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Line_ID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt; ,'Dup','NoDup') &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;DupRec&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #800000; font-size: 10.6666679382324px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From/Resident xyz&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order by Line_ID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it doesn't work.&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>Tue, 31 Mar 2015 12:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827587#M660383</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-31T12:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827588#M660384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dermot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d;"&gt;('Line_ID')=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Line_ID&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d;"&gt;,0,1) &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;from resident table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;order by Line_ID&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 13:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827588#M660384</guid>
      <dc:creator />
      <dc:date>2015-03-31T13:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827589#M660385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still gives the same result, only in reverse.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 13:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827589#M660385</guid>
      <dc:creator>dmac1971</dc:creator>
      <dc:date>2015-03-31T13:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827590#M660386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dermot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, since QlikView loads the table one record at a time, from the top down, there's no way to do this in one go - you'll have to do one RESIDENT LOAD in reverse sorting order and do the same as the first time round.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 13:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827590#M660386</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-03-31T13:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827591#M660387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you take a shot at what I suggested? Just curious &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 13:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827591#M660387</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-31T13:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827592#M660388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order by Line_ID DEC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 13:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827592#M660388</guid>
      <dc:creator />
      <dc:date>2015-03-31T13:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827593#M660389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Peek('Line-ID', RowNo()+1,'table') to check for the next to get a flag on the first one too.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 13:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827593#M660389</guid>
      <dc:creator />
      <dc:date>2015-03-31T13:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827594#M660390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK Trying This :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;Peek&lt;/SPAN&gt;('Line_ID',-1) = &lt;SPAN style="color: #800000;"&gt;Line_ID&lt;/SPAN&gt;,'Dup', &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Peek&lt;/SPAN&gt;('Line-ID', &lt;SPAN style="color: #0000ff;"&gt;RowNo&lt;/SPAN&gt;()+1,'Orders') = &lt;SPAN style="color: #800000;"&gt;Line_ID&lt;/SPAN&gt;,'Dup','NoDup')) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;DupRec &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doesn't work either....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 14:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827594#M660390</guid>
      <dc:creator>dmac1971</dc:creator>
      <dc:date>2015-03-31T14:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827595#M660391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess for some reason you hate my suggestion. I was just trying to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you get what you are looking for.&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>Tue, 31 Mar 2015 14:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827595#M660391</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-31T14:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827596#M660392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies, not ignoring it, trying to go with the solution I understand better, that's all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 14:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827596#M660392</guid>
      <dc:creator>dmac1971</dc:creator>
      <dc:date>2015-03-31T14:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827597#M660393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[your original load]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (Your Original Table)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Line_ID,&lt;/P&gt;&lt;P&gt;RangeMin(Count(Line_ID), 1) as DuplicateFlag&lt;/P&gt;&lt;P&gt;RESIDENT&lt;/P&gt;&lt;P&gt;(Your Original Table)&lt;/P&gt;&lt;P&gt;GROUP BY Line_ID;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 14:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827597#M660393</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2015-03-31T14:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827598#M660394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&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>Tue, 31 Mar 2015 14:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827598#M660394</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-31T14:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827599#M660395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution is fooling around with a few Resident loads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets assume the table with your original IF statement is called TableTMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DoubleTMP:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;Load Line_ID as DoubleID,&lt;/P&gt;&lt;P&gt;'Dub' as Flag&lt;/P&gt;&lt;P&gt;Resident TableTMP&lt;/P&gt;&lt;P&gt;where &lt;SPAN style="color: #800000;"&gt;DupRec = 'Dub';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That makes a helper list with all the keys that are double.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, create your final table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableFinal:&lt;/P&gt;&lt;P&gt;NoConcatinate&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;AllKindOfFieldsFromTableTMP,&lt;/P&gt;&lt;P&gt;applymap('DoubleTMP', Line_ID, 'NotDub') as &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.66px;"&gt;&lt;STRONG&gt;DupRec&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Resident TableTMP&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;Drop Table TableTMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume it can be done easier, but this should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 14:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827599#M660395</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2015-03-31T14:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827600#M660396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or yet another solution... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;countduplicates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAPPING LOAD DISTINCT Line_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count(some field) As duplicates&lt;/P&gt;&lt;P&gt;RESIDENT table Group by Line_ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finaltable:&lt;/P&gt;&lt;P&gt;LOAD Line_ID,&lt;/P&gt;&lt;P&gt;Applymap('countduplicates',Line_ID,0)&lt;/P&gt;&lt;P&gt;RESIDENT table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 15:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827600#M660396</guid>
      <dc:creator />
      <dc:date>2015-03-31T15:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827601#M660397</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&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Line_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Line_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;1,'Dup','No_Dup') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DupRec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Table&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Line_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 15:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827601#M660397</guid>
      <dc:creator>malini_qlikview</dc:creator>
      <dc:date>2015-03-31T15:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827602#M660398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x:&lt;/P&gt;&lt;P&gt;LOAD *Inline [SalesID,SalesAmount&lt;/P&gt;&lt;P&gt;1,100&lt;/P&gt;&lt;P&gt;1,100&lt;/P&gt;&lt;P&gt;1,7&lt;/P&gt;&lt;P&gt;2,200&lt;/P&gt;&lt;P&gt;2,200&lt;/P&gt;&lt;P&gt;3,400&lt;/P&gt;&lt;P&gt;3,400&lt;/P&gt;&lt;P&gt;4,60&lt;/P&gt;&lt;P&gt;5,2000&lt;/P&gt;&lt;P&gt;6,900&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;y:&lt;/P&gt;&lt;P&gt;LOAD SalesID,SalesAmount,&lt;/P&gt;&lt;P&gt;if ((peek('SalesID',-1)= SalesID or peek('SalesID',1)= SalesID),'Dup','NoDup') as DupRec&lt;/P&gt;&lt;P&gt;Resident x&lt;/P&gt;&lt;P&gt;order by SalesID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Table x;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 12:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-Duplicates/m-p/827602#M660398</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-06-01T12:43:18Z</dc:date>
    </item>
  </channel>
</rss>

