<?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: Duplicate rows when storing data into csv in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025813#M346669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Disctinct...&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;store (qvd)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 08:57:57 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2016-02-25T08:57:57Z</dc:date>
    <item>
      <title>Duplicate rows when storing data into csv</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025812#M346668</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'm storing fields from a table into a csv file in the following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ads:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; LoginID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; LoginCreated,&lt;/P&gt;&lt;P&gt;&amp;nbsp; LoginDeletionDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AdID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AdCreated,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AdStartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AdPublished,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SourceID,&lt;/P&gt;&lt;P&gt;.... (and some more)&lt;/P&gt;&lt;P&gt;Resident Dataset;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE * from Ads into $(pathQVDs)Seller\ads.csv(txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine, but many rows in the csv are exactly the same but are duplicated several times (some 5 times, some 30 times). &lt;/P&gt;&lt;P&gt;Here's some sample lines:&lt;/P&gt;&lt;P&gt;LoginID,LoginCreated,LoginDeletionDate,AdID,AdCreated,AdStartDate,AdPublished&lt;/P&gt;&lt;P&gt;123456,28.09.2015,,134752458,28.09.2015,28.09.2015,,,12.11.2015,,6&lt;/P&gt;&lt;P&gt;123456,28.09.2015,,134752496,28.09.2015,28.09.2015,,,12.11.2015,,6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I create a table object and add the fields in the same order, I have only one line! So I'm really sure that the lines are exact duplicates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have no idea why this happens. Has anyone experienced the same issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for any hint!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR, Nigel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 08:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025812#M346668</guid>
      <dc:creator>nigel987</dc:creator>
      <dc:date>2016-02-25T08:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate rows when storing data into csv</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025813#M346669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Disctinct...&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;store (qvd)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 08:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025813#M346669</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-25T08:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate rows when storing data into csv</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025814#M346670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sample:&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;Hi, use the keyword "&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;DISTINCT&lt;/STRONG&gt;" and &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;RowNo()&lt;/STRONG&gt; function.&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;I.E.&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;TABLE1:&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;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;DISTINCT&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIELD_01,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIELD_02,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FEILD_03,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIELD_09&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/EM&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;with this keyword all rows with the same values on all fields are reduced to one row and the table are load with no duplicate rows.&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;TABLE2:&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;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;RowNo()&lt;/STRONG&gt;&amp;nbsp; AS NUMBER,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;RESIDENT TABLE1;&lt;/EM&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;DROP TABLE1;&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;with RowNo() you can enumerate the rows in a table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 08:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025814#M346670</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-25T08:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate rows when storing data into csv</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025815#M346671</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;In provide sample lines AdID different so those lines are not duplicate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it really contain duplicate check your value in DataSet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 09:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025815#M346671</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-02-25T09:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate rows when storing data into csv</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025816#M346672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The Table Object doesn't display the duplicate values (if all field values are Same)..&lt;/P&gt;&lt;P&gt;You can check it in the Table Viewer, It will shows how many rows in the table..&lt;/P&gt;&lt;P&gt;for eg. When i load the below 2 rows, the table object will display single row only.. see the screen shot.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Inline&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[&lt;BR /&gt; Dim1,Dim2,Dim3&lt;BR /&gt; A,B,C&lt;BR /&gt; A,B,C&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Table Viewer shows : 2 Rows&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115917_Capture.JPG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 09:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025816#M346672</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-02-25T09:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate rows when storing data into csv</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025817#M346673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chanty, &lt;/P&gt;&lt;P&gt;beginner's mistake &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I missed the DISTINCT&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025817#M346673</guid>
      <dc:creator>nigel987</dc:creator>
      <dc:date>2016-02-25T13:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate rows when storing data into csv</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025818#M346674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm noprb....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can make others as helpful. which is other try fr ur requirment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Suresh chanty&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-rows-when-storing-data-into-csv/m-p/1025818#M346674</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-25T13:03:38Z</dc:date>
    </item>
  </channel>
</rss>

