<?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: Remove Duplicates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378621#M702972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try aggregating the resident table and joining to itself:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; MemberID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CustomerID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1 AS Count&lt;/P&gt;&lt;P&gt;From.....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN (Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; MemberID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CustomerID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sum(Count) AS Freq&lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;Group by MemberID,CustomerID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will show you the frequency of each row. &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;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2012 17:17:14 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-08-16T17:17:14Z</dc:date>
    <item>
      <title>Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378620#M702971</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;I have a table which holds two key fields: MemberID and CustomerID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before moving forward I want to check for any duplicates in table with a Key combination of MemberID + CustomerID. (Both reside in the same table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 17:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378620#M702971</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2012-08-16T17:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378621#M702972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try aggregating the resident table and joining to itself:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; MemberID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CustomerID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1 AS Count&lt;/P&gt;&lt;P&gt;From.....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN (Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; MemberID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CustomerID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sum(Count) AS Freq&lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;Group by MemberID,CustomerID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will show you the frequency of each row. &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;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 17:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378621#M702972</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-08-16T17:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378622#M702973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to flag the duplicates and remove them from the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 17:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378622#M702973</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2012-08-16T17:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378623#M702974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you want to leave one of each duplicate record behind? Will all other fields also be identical? If not, how do you decide which record to keep?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 17:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378623#M702974</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-08-16T17:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378624#M702975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes all other fields would be identical. So I can keep any one record of the two or more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 17:38:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378624#M702975</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2012-08-16T17:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378625#M702976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then maybe just LOAD DISTINCT in the first place....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 17:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378625#M702976</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-08-16T17:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378626#M702978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Distinct MemberID&amp;amp;' '&amp;amp;CustomerID as Key,&lt;/P&gt;&lt;P&gt;MemberID,&lt;/P&gt;&lt;P&gt;CustomerID,&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;ABC.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check when the combination of MemberID and CustomerID is repeating in the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 18:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378626#M702978</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2012-08-16T18:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378627#M702980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;Script mentioned&amp;nbsp; below brings only the data that has the combination &amp;gt; 1. I hope you can take it forward from here to avoid data duplication using the timestamp or anything specific to your requirements. Does it help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;Temp:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;LOAD DISTINCT MemberID, CustomerID, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;COUNT(MemberID&amp;amp;'_'&amp;amp;CustomerID) AS Count&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;(SourceFile.xls )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;GROUP BY MemberID, CustomerID;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;Key:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;LOAD MemberID&amp;amp;'_'&amp;amp;CustomerID AS Key &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;RESIDENT Temp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;WHERE Count &amp;gt;1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;DROP TABLE Temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;ActualTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;LOAD *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;(SourceFile)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;WHERE EXISTS (Key,MemberID&amp;amp;'_'&amp;amp;CustomerID);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;DROP TABLE Key;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 19:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378627#M702980</guid>
      <dc:creator>manojkvrajan</dc:creator>
      <dc:date>2012-08-16T19:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378628#M702981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I meant simply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD DISTINCT * FROM Data.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 20:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378628#M702981</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-08-16T20:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378629#M702982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 12:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378629#M702982</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2012-08-17T12:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378630#M702983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I want to do the same thing but all other fields are not identical. For example, if i have 2 customer id's, i only want to take that ID which has a higher "worth". Here "worth" is just a field name. Any help?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 09:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378630#M702983</guid>
      <dc:creator />
      <dc:date>2013-08-14T09:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378631#M702984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take a look at attached qvw...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;TMP:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, worth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;TEST:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Noconcatenate Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;ID, max(worth) as worth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;RESIDENT TMP GROUP by ID;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;DROP TABLE TMP;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Group by clause just works with data from resident table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- PS -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 09:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378631#M702984</guid>
      <dc:creator>peschu123</dc:creator>
      <dc:date>2013-08-14T09:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378632#M702985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. Really helpful. I only have the personal edition so can't view your file. Please could you copy and paste the script into this discussion. Also, I have other variables not just id and worth, where do I put these variables in? &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 10:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378632#M702985</guid>
      <dc:creator />
      <dc:date>2013-08-14T10:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378633#M702986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the script is pasted in my last post...?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With variables you mean fields(columns)? With more fields you get an error I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can imagine 2 possible ways to get the data for a full table(perhaps someone knows a better solution):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Do as described an then do a join with the origin table to get the rest of the fields.But I'm not that confident with joins so I would do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In short: Create a flag field in the origin table which fields should be loaded(load = 1 or 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a merged field of ID and worth, like "ID|worth" while loading TEST(and origin table) and create a Mapping table with that data like:&lt;/P&gt;&lt;P&gt;RELEVANT_ID_MAP:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;/P&gt;&lt;P&gt;ID|worth,1 as relevant&lt;/P&gt;&lt;P&gt;RESIDENT TEST;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than load data(fields) from origin table(TMP) with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sometemptable:&lt;/P&gt;&lt;P&gt;ApplyMap('RELEVANT_ID_MAP',ID|worth,'0') AS load,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally load the data in a table with ... RESIDENT sometemptable where load=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at it more as rough guide not a step by step tutorial...Sorry, I have not the time at the moment. Perhaps later I'll create a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I admit it looks a bit complicated but if you are used to it is really quick and for me it the safest way. Better than joining and not 100% sure what happens to my data, ending up in a mess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally I think there is sure somebody (more advanced) who can do this "better"/easier. But at the moment this works for me pretty well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- PS -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 12:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Duplicates/m-p/378633#M702986</guid>
      <dc:creator>peschu123</dc:creator>
      <dc:date>2013-08-14T12:00:05Z</dc:date>
    </item>
  </channel>
</rss>

