<?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: Load multiple files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87080#M14232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure Evan, if there in your folder, you can load all files, &lt;SPAN lang="en"&gt;indifferent their names; try to load with a recursive load, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;the statement is: &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM (PATH)*.(File extension);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all fields have the same name, it will be create one table. if not, for every different field create a new table.&lt;/P&gt;&lt;P&gt;To force it to be concatenate it on one table, in the second case, you need one cycle, just like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TbTemp:&lt;/P&gt;&lt;P&gt;Load 1 as tempFielda autogenerate 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each File in filelist (&amp;lt;Path, for example C:\documents\*&amp;gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concatenate(TbTemp)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load * from file;&lt;/P&gt;&lt;P&gt;Next File;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2018 14:38:04 GMT</pubDate>
    <dc:creator>uroboros</dc:creator>
    <dc:date>2018-10-09T14:38:04Z</dc:date>
    <item>
      <title>Load multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87076#M14228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a series of files in a directory that I want to import into my application. All of the files have the same column names, but have different names. For example abc_123_xyz, def_456_uvw and so on are the file names. In the data itself, the differentiation between files is a column named 'Event_Type' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for recommendations on how to establish my script to load this data in the most efficient manner. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 14:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87076#M14228</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2018-10-09T14:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87077#M14229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evan, I suggest you that use an excel sheet, on it you can include the file names what do you need to load.&lt;/P&gt;&lt;P&gt;Or, another way, you can do a recursive load, moving all files on the same folder, and makin load * from path/*.txt (or the file extension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 14:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87077#M14229</guid>
      <dc:creator>uroboros</dc:creator>
      <dc:date>2018-10-09T14:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87078#M14230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the confusion. This directory will house an infinite number of files, so I need to load all files in the directory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 14:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87078#M14230</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2018-10-09T14:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87079#M14231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each File in 'abc_123_xyz', 'def_456_uvw'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Table]: Load * From $(File)&lt;/P&gt;&lt;P&gt;next File&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each FoundFile in filelist( Root &amp;amp; '\*.' &amp;amp; FileExtension)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF Condition THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;TABLE&gt;: Load * From $(FoundFile)&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF&lt;/P&gt;&lt;P&gt;next FoundFile&lt;/P&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 14:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87079#M14231</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-10-09T14:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87080#M14232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure Evan, if there in your folder, you can load all files, &lt;SPAN lang="en"&gt;indifferent their names; try to load with a recursive load, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;the statement is: &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM (PATH)*.(File extension);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all fields have the same name, it will be create one table. if not, for every different field create a new table.&lt;/P&gt;&lt;P&gt;To force it to be concatenate it on one table, in the second case, you need one cycle, just like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TbTemp:&lt;/P&gt;&lt;P&gt;Load 1 as tempFielda autogenerate 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each File in filelist (&amp;lt;Path, for example C:\documents\*&amp;gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concatenate(TbTemp)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load * from file;&lt;/P&gt;&lt;P&gt;Next File;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 14:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87080#M14232</guid>
      <dc:creator>uroboros</dc:creator>
      <dc:date>2018-10-09T14:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87081#M14233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the following, which seemed to work&lt;/P&gt;&lt;P&gt;Directory 'Q:\Data';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each ExcelFile in filelist ('*.xlsx')&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * From $(ExcelFile) (ooxml, embedded labels, table is [Data]);&lt;/P&gt;&lt;P&gt;Next ExcelFile;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Data INTO &lt;Q&gt; (qvd);&lt;/Q&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 20:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-files/m-p/87081#M14233</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2018-10-09T20:38:38Z</dc:date>
    </item>
  </channel>
</rss>

