<?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: Qlik Sense - Load all files from a folder in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304217#M2733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely! I've edited the answer to include your correction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jan 2018 08:14:59 GMT</pubDate>
    <dc:creator>arturomiquelveyrat</dc:creator>
    <dc:date>2018-01-12T08:14:59Z</dc:date>
    <item>
      <title>Qlik Sense - Load all files from a folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304212#M2728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Qlik View, all files from a folder can be easily loaded using FileList():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;for each file in FileList('C:\Users\...\Test\*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; load&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'courier new', courier; font-size: 13.3333px;"&gt;$(file) as [File Name],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X as [Field X]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; from $(file)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; (...;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;next&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I cannot make FileList work in Qlik Sense. Any advice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 17:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304212#M2728</guid>
      <dc:creator>arturomiquelveyrat</dc:creator>
      <dc:date>2017-05-08T17:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Load all files from a folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304213#M2729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Go to the "Data Loading Editor":&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="162643" alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/162643_1.png" style="display: block; margin-left: auto; margin-right: auto; float: none;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Create a new conection to the folder where your files are:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="162647" alt="2017_05_09_16_17_51_Deleted_Items_arturo.miquel.veyrat_everis.com_Outlook.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/162647_2017_05_09_16_17_51_Deleted_Items_arturo.miquel.veyrat_everis.com_Outlook.png" style="height: auto; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;3. Cut and paste the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;for each file in filelist('lib://YourConnectionName\*.qvd')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YourTableName:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; load&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YourField1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YourField2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from [$(file)](qvd)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;next file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution adapted from: &lt;A href="https://community.qlik.com/message/995450"&gt;Read existing files&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 11:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304213#M2729</guid>
      <dc:creator>arturomiquelveyrat</dc:creator>
      <dc:date>2017-05-09T11:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Load all files from a folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304214#M2730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For loading all files from a folder one could simply use :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_1,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; from &lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;EM&gt;C:\YourFolder\*.* ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 14:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304214#M2730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-09T14:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Load all files from a folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304215#M2731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bill!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I forgot to mention that I need to populate one field with the file name, so your approach is not suitable. I've just edited the question to address this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 14:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304215#M2731</guid>
      <dc:creator>arturomiquelveyrat</dc:creator>
      <dc:date>2017-05-09T14:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Load all files from a folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304216#M2732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Arturo for the example script.&lt;/P&gt;&lt;P&gt;I forgot to put the file type I am loading. The result table showed one record with the XML header. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from [$(file)] &lt;STRONG&gt;(qvd)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Bernd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 07:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304216#M2732</guid>
      <dc:creator>berndjaegle</dc:creator>
      <dc:date>2018-01-12T07:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Load all files from a folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304217#M2733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely! I've edited the answer to include your correction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 08:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304217#M2733</guid>
      <dc:creator>arturomiquelveyrat</dc:creator>
      <dc:date>2018-01-12T08:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Load all files from a folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304218#M2734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any limit of files using this way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 18:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1304218#M2734</guid>
      <dc:creator>farolito20</dc:creator>
      <dc:date>2018-05-31T18:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Load all files from a folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1509776#M3424</link>
      <description>I don't think so.</description>
      <pubDate>Tue, 20 Nov 2018 14:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1509776#M3424</guid>
      <dc:creator>arturomiquelveyrat</dc:creator>
      <dc:date>2018-11-20T14:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Load all files from a folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1643350#M4609</link>
      <description>&lt;P&gt;Hi Arturo,&lt;/P&gt;&lt;P&gt;I was following your code and made some adjustments and it works. However I would like to read ALL QVDs stored in the server. This means, I would like to replace&amp;nbsp;&lt;FONT color="#FF6600"&gt;'lib://Stream_0600_QStorage/20_Transform/*.qvd'&lt;/FONT&gt; by&amp;nbsp;&lt;FONT color="#FF00FF"&gt;'lib://*.qvd'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;It did not work. I want to avoid going folder by folder in the server, I would like to go directly&amp;nbsp;to all QVDs stored in the different&amp;nbsp;folders.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FOR each vFile in FileList('lib://Stream_0600_QStorage/20_Transform/*.qvd')&lt;BR /&gt;&lt;BR /&gt;//variables&lt;BR /&gt;LET vFileName = mid('$(vFile)', index('$(vFile)', '/', -1) + 1, 40);&lt;BR /&gt;//-----------------------------&lt;BR /&gt;QVD_Info:&lt;BR /&gt;FIRST 1 LOAD&lt;BR /&gt;1 as QVDCount,&lt;BR /&gt;NUM(FileSize()/1000000 ,'0') as QVD_Size_MB,&lt;BR /&gt;FilePath() as QVD_Path,&lt;BR /&gt;FileTime() as QVD_Time_Created,&lt;BR /&gt;'$(vFileName)' as QVD_Name&lt;BR /&gt;FROM [$(vFile)](qvd);&lt;BR /&gt;//----------------------------&lt;/P&gt;&lt;P&gt;NEXT vFile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Many thanks!!!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 17:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1643350#M4609</guid>
      <dc:creator>Zaga_69</dc:creator>
      <dc:date>2019-11-05T17:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Load all files from a folder</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1643918#M4616</link>
      <description>&lt;P&gt;I think you'll have to scan through all sub-folders, I'm afraid. Maybe this post helps you:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-Scripting/Load-files-from-subfolders-in-one-load-script/m-p/1152333/highlight/true#M76446" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Scripting/Load-files-from-subfolders-in-one-load-script/m-p/1152333/highlight/true#M76446&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 17:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-Sense-Load-all-files-from-a-folder/m-p/1643918#M4616</guid>
      <dc:creator>arturomiquelveyrat</dc:creator>
      <dc:date>2019-11-06T17:31:57Z</dc:date>
    </item>
  </channel>
</rss>

