<?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 File Handling (Incremental Load) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/File-Handling-Incremental-Load/m-p/1539399#M747080</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to do file handling in Qlikview.I have&amp;nbsp; following scenario:-&lt;/P&gt;&lt;P&gt;I have full load files present on FTP(as below) which I have stored in QVD and then loaded in qlikview script (refer red color code) and I have deleted those full load files from FTP after taking in QVD format.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 590px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5184i6EC13374F769330C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;similarly, I have another files&amp;nbsp; (incremental load ) that are created on daily basis on same FTP&amp;nbsp; where full load files are kept(refer green color code below)&lt;/P&gt;&lt;P&gt;///////Increment Order/////////////////&lt;/P&gt;&lt;P&gt;LET vToday = date(today(), 'YYYYMMDD');&lt;BR /&gt;Full_Order_Data:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#99CC00"&gt;LOAD distinct Plant, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;OrderNo, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;OrderDate, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;OrderType, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;DistChannel, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;Division, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;NCODE, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;Season, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;MatType, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;Style, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;Color, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;Size, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;OrderQty, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;OrderValue, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;ConfirmedQty, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;ConfirmedValue, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;MRP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;[D:\Qlik_OrderSheets\OrderSheets\QLIK*.CSV]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;////////////////Full Load Order///////////////////////////////&lt;BR /&gt;concatenate(Full_Order_Data)&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;LOAD distinct Plant, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;OrderNo, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;OrderDate, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;OrderType, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;DistChannel, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Division, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;NCODE, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Season, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;MatType, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Style, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Color, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Size, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;OrderQty, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;OrderValue, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;ConfirmedQty, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;ConfirmedValue, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;MRP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[D:\Qlik_OrderSheets\OrderSheets\Full_Order_Data.qvd]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;(qvd)&lt;/FONT&gt;&lt;BR /&gt;where not exists(NCODE, Style&amp;amp;Color&amp;amp;Size);&lt;BR /&gt;//&lt;BR /&gt;store Full_Order_Data into C:\Users\dmsadmin\Desktop\New folder\QVD\extract_qvd\Full_Order_Data.qvd;&lt;BR /&gt;drop table Full_Order_Data;&lt;/P&gt;&lt;P&gt;Now I want to confirm whether the above code will work for the following below scenario?&lt;/P&gt;&lt;P&gt;&amp;nbsp;I want the increment load (files ) which are created on daily basis on FTP, should get overwrite in existing full load (refer code above). The following code will execute incremental files (created on daily basis)&lt;/P&gt;&lt;P&gt;&lt;FONT color="#99CC00"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;[D:\Qlik_OrderSheets\OrderSheets\QLIK*.CSV]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;1. and&amp;nbsp;will it overwrite the files in full load???. Following is the code for that&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[D:\Qlik_OrderSheets\OrderSheets\Full_Order_Data.qvd]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;(qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;where not exists(NCODE, Style&amp;amp;Color&amp;amp;Size);&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>sakshikaul</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>File Handling (Incremental Load)</title>
      <link>https://community.qlik.com/t5/QlikView/File-Handling-Incremental-Load/m-p/1539399#M747080</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to do file handling in Qlikview.I have&amp;nbsp; following scenario:-&lt;/P&gt;&lt;P&gt;I have full load files present on FTP(as below) which I have stored in QVD and then loaded in qlikview script (refer red color code) and I have deleted those full load files from FTP after taking in QVD format.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 590px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5184i6EC13374F769330C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;similarly, I have another files&amp;nbsp; (incremental load ) that are created on daily basis on same FTP&amp;nbsp; where full load files are kept(refer green color code below)&lt;/P&gt;&lt;P&gt;///////Increment Order/////////////////&lt;/P&gt;&lt;P&gt;LET vToday = date(today(), 'YYYYMMDD');&lt;BR /&gt;Full_Order_Data:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#99CC00"&gt;LOAD distinct Plant, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;OrderNo, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;OrderDate, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;OrderType, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;DistChannel, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;Division, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;NCODE, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;Season, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;MatType, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;Style, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;Color, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;Size, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;OrderQty, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;OrderValue, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;ConfirmedQty, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;ConfirmedValue, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;MRP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;[D:\Qlik_OrderSheets\OrderSheets\QLIK*.CSV]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;////////////////Full Load Order///////////////////////////////&lt;BR /&gt;concatenate(Full_Order_Data)&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;LOAD distinct Plant, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;OrderNo, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;OrderDate, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;OrderType, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;DistChannel, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Division, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;NCODE, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Season, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;MatType, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Style, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Color, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Size, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;OrderQty, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;OrderValue, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;ConfirmedQty, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;ConfirmedValue, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;MRP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[D:\Qlik_OrderSheets\OrderSheets\Full_Order_Data.qvd]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;(qvd)&lt;/FONT&gt;&lt;BR /&gt;where not exists(NCODE, Style&amp;amp;Color&amp;amp;Size);&lt;BR /&gt;//&lt;BR /&gt;store Full_Order_Data into C:\Users\dmsadmin\Desktop\New folder\QVD\extract_qvd\Full_Order_Data.qvd;&lt;BR /&gt;drop table Full_Order_Data;&lt;/P&gt;&lt;P&gt;Now I want to confirm whether the above code will work for the following below scenario?&lt;/P&gt;&lt;P&gt;&amp;nbsp;I want the increment load (files ) which are created on daily basis on FTP, should get overwrite in existing full load (refer code above). The following code will execute incremental files (created on daily basis)&lt;/P&gt;&lt;P&gt;&lt;FONT color="#99CC00"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;[D:\Qlik_OrderSheets\OrderSheets\QLIK*.CSV]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#99CC00"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;1. and&amp;nbsp;will it overwrite the files in full load???. Following is the code for that&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF6600"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[D:\Qlik_OrderSheets\OrderSheets\Full_Order_Data.qvd]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;(qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;where not exists(NCODE, Style&amp;amp;Color&amp;amp;Size);&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Handling-Incremental-Load/m-p/1539399#M747080</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

