<?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 load multiple txt files using loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-multiple-txt-files-using-loop/m-p/1618656#M734146</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="master pic.PNG" style="width: 725px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/18179iF742B5E605C82DD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="master pic.PNG" alt="master pic.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;hi everyone&lt;/P&gt;&lt;P&gt;i have this master files and they are daily added into this folder&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have done incremental on this by the help of&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/incremental-load-on-txt-file-without-date-field/m-p/1618482#M380045" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/New-to-QlikView/incremental-load-on-txt-file-without-date-field/m-p/1618482#M380045&lt;/A&gt;&lt;/P&gt;&lt;P&gt;script is :-&lt;/P&gt;&lt;P&gt;master:&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;RecNo() as RecId&lt;BR /&gt;FROM&lt;BR /&gt;[..\material master and customer master txt\MAT_MAS_20190731_131746.txt]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '|', msq) ;&lt;/P&gt;&lt;P&gt;Inner Join(master)&lt;BR /&gt;LOAD EAN, Max(RecId) as RecId&lt;BR /&gt;Resident master&lt;BR /&gt;Group by EAN&lt;BR /&gt;;&lt;BR /&gt;DROP FIELD RecId;&lt;/P&gt;&lt;P&gt;now i want to implemet this script in loop so that all files get loaded one by one and compare with each other and load all data in it.&lt;/P&gt;&lt;P&gt;so my question is suppose first file&amp;nbsp; in image have ean id of 1001010 and mrp is 100 , and last file with same ean have mrp of 200 , so it should load 200 mrp.&lt;/P&gt;&lt;P&gt;hope you get my querry.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>riishabhz</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>load multiple txt files using loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-txt-files-using-loop/m-p/1618656#M734146</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="master pic.PNG" style="width: 725px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/18179iF742B5E605C82DD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="master pic.PNG" alt="master pic.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;hi everyone&lt;/P&gt;&lt;P&gt;i have this master files and they are daily added into this folder&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have done incremental on this by the help of&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/incremental-load-on-txt-file-without-date-field/m-p/1618482#M380045" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/New-to-QlikView/incremental-load-on-txt-file-without-date-field/m-p/1618482#M380045&lt;/A&gt;&lt;/P&gt;&lt;P&gt;script is :-&lt;/P&gt;&lt;P&gt;master:&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;RecNo() as RecId&lt;BR /&gt;FROM&lt;BR /&gt;[..\material master and customer master txt\MAT_MAS_20190731_131746.txt]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '|', msq) ;&lt;/P&gt;&lt;P&gt;Inner Join(master)&lt;BR /&gt;LOAD EAN, Max(RecId) as RecId&lt;BR /&gt;Resident master&lt;BR /&gt;Group by EAN&lt;BR /&gt;;&lt;BR /&gt;DROP FIELD RecId;&lt;/P&gt;&lt;P&gt;now i want to implemet this script in loop so that all files get loaded one by one and compare with each other and load all data in it.&lt;/P&gt;&lt;P&gt;so my question is suppose first file&amp;nbsp; in image have ean id of 1001010 and mrp is 100 , and last file with same ean have mrp of 200 , so it should load 200 mrp.&lt;/P&gt;&lt;P&gt;hope you get my querry.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-txt-files-using-loop/m-p/1618656#M734146</guid>
      <dc:creator>riishabhz</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple txt files using loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-txt-files-using-loop/m-p/1618971#M734147</link>
      <description>&lt;P&gt;Just two changes -- shown in &lt;STRONG&gt;bold&lt;/STRONG&gt; -- I would make to the first LOAD statement:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;master:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;LOAD&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;*,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&lt;STRONG&gt;RowNo()&lt;/STRONG&gt; as RecId&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;[..\material master and customer master txt\MAT_MAS&lt;STRONG&gt;*&lt;/STRONG&gt;.txt]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;(txt, codepage is 1252, embedded labels, delimiter is '|', msq) ;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 18:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-txt-files-using-loop/m-p/1618971#M734147</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-08-30T18:39:24Z</dc:date>
    </item>
  </channel>
</rss>

