<?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: Can anybody explain how this Where Not Exists function eliminates old value with new value in my data? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-anybody-explain-how-this-Where-Not-Exists-function/m-p/1000952#M650640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do not look it to the "Dialog" window to validate your data. It some times doesnt show the record, even if it exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend you to create a table box on sheet and validate your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 13:10:41 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2015-08-26T13:10:41Z</dc:date>
    <item>
      <title>Can anybody explain how this Where Not Exists function eliminates old value with new value in my data?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-anybody-explain-how-this-Where-Not-Exists-function/m-p/1000951#M650639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following data in two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transactions:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Transactions.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/97050_Transactions.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewTransactions:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="NewTransactions.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/97055_NewTransactions.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction ID S0451 in the NewTransactions table above has a new value. I would like to use this new value instead of the value in the Transactions table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//**Load incremental data**&lt;/P&gt;&lt;P&gt;Transactions:&lt;/P&gt;&lt;P&gt;LOAD Region, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TransactionID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ModifiedDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Transcations Insert.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is NewTransactions)&lt;/P&gt;&lt;P&gt;Where ModifiedDate &amp;gt; $(vLastModifiedDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//**Original transactions data**&lt;/P&gt;&lt;P&gt;Concatenate(Transactions)&lt;/P&gt;&lt;P&gt;LOAD Region, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TransactionID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ModifiedDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Transactions.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Where not Exists(TransactionID);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/97058_Capture.JPG" style="height: 364px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I don't understand is how &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Where not Exists(TransactionID) expression works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does it take the new value and deletes the old one? Is it because I have it in the second table and not the first?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 13:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-anybody-explain-how-this-Where-Not-Exists-function/m-p/1000951#M650639</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-08-26T13:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can anybody explain how this Where Not Exists function eliminates old value with new value in my data?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-anybody-explain-how-this-Where-Not-Exists-function/m-p/1000952#M650640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do not look it to the "Dialog" window to validate your data. It some times doesnt show the record, even if it exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend you to create a table box on sheet and validate your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 13:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-anybody-explain-how-this-Where-Not-Exists-function/m-p/1000952#M650640</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2015-08-26T13:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can anybody explain how this Where Not Exists function eliminates old value with new value in my data?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-anybody-explain-how-this-Where-Not-Exists-function/m-p/1000953#M650641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what it looks like in Table Box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/97060_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 13:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-anybody-explain-how-this-Where-Not-Exists-function/m-p/1000953#M650641</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-08-26T13:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can anybody explain how this Where Not Exists function eliminates old value with new value in my data?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-anybody-explain-how-this-Where-Not-Exists-function/m-p/1000954#M650642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your script loads the records from the Excel file that match the date criterion. It then loads records from the qvd where the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TransactionID was not already loaded from the Excel file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;So for 1325, it will load the amount from the spreadsheet and it will not load the amount from the QVD as it was already loaded. If you then save the QVD, the amount in the QVD will be updated. It looks correct to me, I have had a similar scenario before; although I don't know the business rules in your case.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 13:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-anybody-explain-how-this-Where-Not-Exists-function/m-p/1000954#M650642</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-26T13:16:53Z</dc:date>
    </item>
  </channel>
</rss>

