<?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: Data Loss after DROP FIELD statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064423#M355957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan have explained even more in detail what I had want to say.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 May 2016 08:07:36 GMT</pubDate>
    <dc:creator>robert_mika</dc:creator>
    <dc:date>2016-05-04T08:07:36Z</dc:date>
    <item>
      <title>Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064414#M355948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;has anyone experienced the loss of a record from a table after dropping a field (unique identifier) that is the unique difference between 2 records??&lt;/P&gt;&lt;P&gt;When trying to simulate this case QV seems to work in the proper way!!&lt;/P&gt;&lt;P&gt;Enclosed is the simplified example of the case (however it works perfectly well!) while irl in our App we lose a record. When undoing the drop of the field everything worked fine again...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 12:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064414#M355948</guid>
      <dc:creator />
      <dc:date>2016-05-03T12:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064415#M355949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any data loss. There are 10 observations in Test table and 10 observations in Test1 Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/123396_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-05-03 08_48_19-C__Users_sunny.a.talwar_Downloads_Test DataLoss.qvw.png" class="jive-image image-2" src="/legacyfs/online/123397_2016-05-03 08_48_19-C__Users_sunny.a.talwar_Downloads_Test DataLoss.qvw.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 12:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064415#M355949</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T12:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064416#M355950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post more information about the lost record?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 13:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064416#M355950</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2016-05-03T13:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064417#M355951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, that's indeed the case as I already mentioned in mij explanation. When shaping our datamodel for a real live DataModel/App this occurred. &lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 07:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064417#M355951</guid>
      <dc:creator />
      <dc:date>2016-05-04T07:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064418#M355952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately it's not possible to post the complete App here due to complexity, security and size.&lt;/P&gt;&lt;P&gt;That's why I asked for similar experiences. I hoped for answers that this could occur in relation to certain versions of QV or....??&lt;/P&gt;&lt;P&gt;Looks like we have to do more elaborate testing and trying!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your interest.&lt;/P&gt;&lt;P&gt;BR P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 07:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064418#M355952</guid>
      <dc:creator />
      <dc:date>2016-05-04T07:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064419#M355953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked this link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 07:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064419#M355953</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-04T07:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064420#M355954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please share the sample data set and demonstrate the loss of data ?? so that we can identify the issue..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 07:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064420#M355954</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-05-04T07:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064421#M355955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First check that this is truely the case. Views like the Tablebox only show the distinct rows, but they may still exist as two separate rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having checked that, then I suspect that is due to the way the distinct keyword works in QV. If you have &lt;SPAN style="text-decoration: underline;"&gt;any&lt;/SPAN&gt; load step for the table (including joins), then the distinct attribute is applied to the table from that point onward. You are dropping the field that is keeping the records distinct. Since they are no longer distinct and the table has the distinct attribute (because an earlier LOAD had the distinct keyword), the "duplicate" row will be dropped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This applies even on a join, so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join (Table1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD distinct * Resident Table2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then Table1 will be marked as distinct and duplicate records will be dropped. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2013/07/30/distinct-can-be-deceiving/" title="http://www.qlikfix.com/2013/07/30/distinct-can-be-deceiving/"&gt;DISTINCT can be deceiving - The Qlik Fix! The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 08:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064421#M355955</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-05-04T08:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064422#M355956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the data was more or less what's in the test QVW. But in larger quantities (ca 20.000.000 records).&lt;/P&gt;&lt;P&gt;Hope this is sufficient info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 08:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064422#M355956</guid>
      <dc:creator />
      <dc:date>2016-05-04T08:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064423#M355957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan have explained even more in detail what I had want to say.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 08:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064423#M355957</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2016-05-04T08:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064424#M355958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for your post.&lt;/P&gt;&lt;P&gt;We're positive the record has vanished (checked with statistics box on the amount with the correct selection).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed there are preceding joins with the distinct keyword on the table. The keyfields used for the join however are not the ones which we drop later on. That makes a difference or is your explanation still valid?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as a test it would be good to copy the complete table in the script and do a similar drop of the field and than check the results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 08:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064424#M355958</guid>
      <dc:creator />
      <dc:date>2016-05-04T08:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064425#M355959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;concerate the two tables than solve your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 08:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064425#M355959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-04T08:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064426#M355960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Indeed there are preceding joins with the distinct keyword on the table. The keyfields used for the join however are not the ones which we drop later on. That makes a difference or is your explanation still valid?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. The attribute is set for the table as a whole, so it looks at the entire record, regardless of when or how fields are added or removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;So as a test it would be good to copy the complete table in the script and do a similar drop of the field and than check the results?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about that. I don't think the distinct attribute persists when copied to a qvd and it certainly doesn't when copied to text/excel. I don't know about a binary load. But in general, there needs to be at least one load with distinct targetting the table to set the attribute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 08:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064426#M355960</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-05-04T08:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Data Loss after DROP FIELD statement</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064427#M355961</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 found the same error, and it's occurs when you do a join between 2 tables and the you drop a field in the table. If some rows have the same data, this will disappear in the 'drop field...' sentence by the pre join. I don't know why occurs, but you can solve it without the 'drop field...' sentence and using an post load with all the field of the previous table without the field you wanted to delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 09:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Loss-after-DROP-FIELD-statement/m-p/1064427#M355961</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-03-03T09:56:01Z</dc:date>
    </item>
  </channel>
</rss>

