<?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: duplicated rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/duplicated-rows/m-p/1290697#M403623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if your load script generates synthetic keys too.&amp;nbsp; I had some issues with double rows and after I fixed the load script the problems went away.&amp;nbsp; Just a thought.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Jan 2017 02:30:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-01-22T02:30:32Z</dc:date>
    <item>
      <title>duplicated rows</title>
      <link>https://community.qlik.com/t5/QlikView/duplicated-rows/m-p/1290694#M403620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;My script generate Duplicate row, here 's my script :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dummy_bscs:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;"CUSTCODE",&lt;/P&gt;&lt;P&gt;"DN_NUM",&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from &lt;E&gt; (qvd);&lt;/E&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// after that i get all &lt;SPAN style="font-size: 13.3333px;"&gt;ID&lt;/SPAN&gt; from the first table to get the KIT cooresponding to those ID's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT......; //connexion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp2:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; ID resident Dummy_bscs;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dummy_DWH:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;KIT&lt;/P&gt;&lt;P&gt;where Exists(ID);&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;'8921603'&amp;amp;id AS ID,&lt;/P&gt;&lt;P&gt;kit_code AS KIT;&lt;/P&gt;&lt;P&gt;SQL SELECT id_number AS id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , kit_code&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;join(Dummy_bscs)&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Resident Dummy_DWH;&lt;/P&gt;&lt;P&gt;drop table temp2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I there any thing wrong with my script, Do I have to do a left join?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the result :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="150351" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150351_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 18:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/duplicated-rows/m-p/1290694#M403620</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2017-01-21T18:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: duplicated rows</title>
      <link>https://community.qlik.com/t5/QlikView/duplicated-rows/m-p/1290695#M403621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which table has ; Code_Bout ? you have multiple values for the same key causing the duplicate rows&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 20:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/duplicated-rows/m-p/1290695#M403621</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-21T20:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: duplicated rows</title>
      <link>https://community.qlik.com/t5/QlikView/duplicated-rows/m-p/1290696#M403622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wiem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems table Dummy_bscs has two CODE_BOUT.. field records for same ID and other fields.&lt;/P&gt;&lt;P&gt;One record where CODE_BOUT... is I34 and another where CODE_BOUT.. is NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the information you have shared, I can suggest following for now,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put Where clause to eliminate Null from Dummy_bscs table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dummy_bscs:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;"CUSTCODE",&lt;/P&gt;&lt;P&gt;"DN_NUM",&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from &lt;E&gt; (qvd)&lt;/E&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;WHERE len(trim(CODE_BOUTFIELD))&amp;gt;0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;WHERE not IsNull(CODE_BOUTFIELD);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share sample data or application, in case if above suggestion doesn't resolve your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 22:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/duplicated-rows/m-p/1290696#M403622</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-21T22:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: duplicated rows</title>
      <link>https://community.qlik.com/t5/QlikView/duplicated-rows/m-p/1290697#M403623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if your load script generates synthetic keys too.&amp;nbsp; I had some issues with double rows and after I fixed the load script the problems went away.&amp;nbsp; Just a thought.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2017 02:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/duplicated-rows/m-p/1290697#M403623</guid>
      <dc:creator />
      <dc:date>2017-01-22T02:30:32Z</dc:date>
    </item>
  </channel>
</rss>

