<?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 Load in QlikView script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361449#M831205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the QVD: load the table for date field, fetch the Max date, drop the table.&lt;/P&gt;&lt;P&gt;Load the data from Database / excel by adding a where condition to filter the updated records.&lt;/P&gt;&lt;P&gt;concatenate the data with QVD file, check the duplicate values on some ID column using where exists(ID)&lt;/P&gt;&lt;P&gt;store the QVD file, Drop the table of data loaded from database / excel.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;TableData:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD [id__transaction,],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Amount €]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;(......)(txt, codepage is 1252, embedded labels, delimiter is '\t', msq) where Executed_Date&amp;gt;Last_Updated_Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;File1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD [id__transaction,],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Amount €]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;(.....)\File1.QVD(QVD) where exists(id_transaction);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store table Fil1.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table TableData;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jun 2017 06:54:26 GMT</pubDate>
    <dc:creator>BalaBhaskar_Qlik</dc:creator>
    <dc:date>2017-06-27T06:54:26Z</dc:date>
    <item>
      <title>Data Load in QlikView script</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361446#M831202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question with regards to data load in the script.&lt;/P&gt;&lt;P&gt;I have 3 different files which i will be getting each file in every week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ABC(03.12.2017 - 04.09.2017).xlsx&amp;nbsp; received on 04.12.2017&lt;/P&gt;&lt;P&gt;2. &lt;SPAN style="font-size: 13.3333px;"&gt;ABC(03.20.2017 - 04.16.2017).xlsx &lt;SPAN style="font-size: 13.3333px;"&gt; received on 04.19.2017&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3. &lt;SPAN style="font-size: 13.3333px;"&gt;ABC(04.03.2017 - 04.30.2017).xlsx &lt;SPAN style="font-size: 13.3333px;"&gt; received on 05.03.2017.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the 3 files contains some data common since the data is repeating twice or thrice. So I want to load 1st file and when I load 2nd file also we have 03.20.2017 to 04.09.2017 data is double in the app. So I want data of those dates in the app to be replaced from 2nd file and load data avoiding duplicate values double.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;How can I achieve it ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any help is appreciated !!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361446#M831202</guid>
      <dc:creator>rajender_qlik</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data Load in QlikView script</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361447#M831203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Incremental Load&lt;/P&gt;&lt;P&gt;Concept below. &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense/1.1/Subsystems/Hub/Content/LoadData/UsingQVDFilesIncrementalLoad.htm" title="http://help.qlik.com/en-US/sense/1.1/Subsystems/Hub/Content/LoadData/UsingQVDFilesIncrementalLoad.htm"&gt;http://help.qlik.com/en-US/sense/1.1/Subsystems/Hub/Content/LoadData/UsingQVDFilesIncrementalLoad.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically where not exists and where exists will help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 19:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361447#M831203</guid>
      <dc:creator>rupamjyotidas</dc:creator>
      <dc:date>2017-06-26T19:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data Load in QlikView script</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361448#M831204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a primary key in your field? If it's the case, you have just to use not exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example, i use three .txt files. File 1 and file 2 have one common line, and file 2 and file 3 have one common line too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;File1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD [id__transaction,],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Amount €]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;C:\Users\jb\Desktop\Sample1.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File2:&lt;/P&gt;&lt;P&gt;LOAD [id__transaction,],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Amount €]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;C:\Users\jb\Desktop\Sample2.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', msq)&amp;nbsp; where not Exists ([id__transaction,]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File3:&lt;/P&gt;&lt;P&gt;LOAD [id__transaction,],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Amount €]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;C:\Users\jb\Desktop\Sample3.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', msq) where not Exists ([id__transaction,]);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 20:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361448#M831204</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-06-26T20:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Data Load in QlikView script</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361449#M831205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the QVD: load the table for date field, fetch the Max date, drop the table.&lt;/P&gt;&lt;P&gt;Load the data from Database / excel by adding a where condition to filter the updated records.&lt;/P&gt;&lt;P&gt;concatenate the data with QVD file, check the duplicate values on some ID column using where exists(ID)&lt;/P&gt;&lt;P&gt;store the QVD file, Drop the table of data loaded from database / excel.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;TableData:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD [id__transaction,],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Amount €]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;(......)(txt, codepage is 1252, embedded labels, delimiter is '\t', msq) where Executed_Date&amp;gt;Last_Updated_Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;File1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD [id__transaction,],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Amount €]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;(.....)\File1.QVD(QVD) where exists(id_transaction);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store table Fil1.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table TableData;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 06:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361449#M831205</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2017-06-27T06:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Data Load in QlikView script</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361450#M831206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be receiving these files every week and I have one more question with this. If i have some data common in file 1 and file-2. So I want to replace data of file-2 in file-1 which having common transaction dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 13:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361450#M831206</guid>
      <dc:creator>rajender_qlik</dc:creator>
      <dc:date>2017-06-27T13:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Data Load in QlikView script</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361451#M831207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Bala,&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;Thanks for your reply.&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 will be receiving these files every week and I have one more question with this. If i have some data common in file 1 and file-2. So I want to replace data of file-2 in file-1 which having common transaction dates.&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;Thanks,&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;Rajender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 13:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Load-in-QlikView-script/m-p/1361451#M831207</guid>
      <dc:creator>rajender_qlik</dc:creator>
      <dc:date>2017-06-27T13:24:23Z</dc:date>
    </item>
  </channel>
</rss>

