<?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: Code to clean up duplicates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Code-to-clean-up-duplicates/m-p/689464#M1066794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * From.....&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MasterFile:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Distinct *&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Temp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STORE MasterFile into ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 14:41:34 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-09-02T14:41:34Z</dc:date>
    <item>
      <title>Code to clean up duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Code-to-clean-up-duplicates/m-p/689463#M1066793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have quite a few joins in my qvd creation files and have been having trouble with duplicated records. Shouldn't the following code stuck at the end of my creation (just before the store command) help with that? If so, wouldn't it be a good idea to use it in most of my qvd creation files? Does anyone else use something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterFile:&lt;/P&gt;&lt;P&gt;LOAD Distinct *&lt;/P&gt;&lt;P&gt;Resident Temp;&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE MasterFile into ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 14:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Code-to-clean-up-duplicates/m-p/689463#M1066793</guid>
      <dc:creator>hobanwashburne</dc:creator>
      <dc:date>2014-09-02T14:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Code to clean up duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Code-to-clean-up-duplicates/m-p/689464#M1066794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * From.....&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MasterFile:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Distinct *&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Temp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STORE MasterFile into ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 14:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Code-to-clean-up-duplicates/m-p/689464#M1066794</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-02T14:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Code to clean up duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Code-to-clean-up-duplicates/m-p/689465#M1066795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With distinct you eliminated duplicated rows but you could still have duplicates in key-fields (same id but several matchings). For things like this or to have a possibilty to work on the reasons you need to identify these rows, maybe with something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;duplicate:&lt;/P&gt;&lt;P&gt;Load ID, if(count(ID) &amp;gt; 1, 'duplicate', 'ok') as check From x;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 14:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Code-to-clean-up-duplicates/m-p/689465#M1066795</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-09-02T14:45:22Z</dc:date>
    </item>
  </channel>
</rss>

