<?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 all files from folder in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117662#M753930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just want some clarification, do you want to load every files from the folder? Or you want to load only files for the current month or only files for last two days?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to load all files than you can use the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM [FolderPath\textfile_*.txt](&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;txt, codepage is 1251, embedded labels, delimiter is ' ', msq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Rajiv.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2018 08:46:21 GMT</pubDate>
    <dc:creator>rajivmeher</dc:creator>
    <dc:date>2018-09-28T08:46:21Z</dc:date>
    <item>
      <title>Load all files from folder</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117656#M753924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;i have a folder path where every day file will be placed. Lets say one file is placed with year_month_date as file name. If one file is placedin the folder it should load and for tomorrow one more file will be placed with date as tomorrow. tgen it should load yesterday’s file and today’s file. As the field name and field count is same, it will concatinate. Like this we will get one file every day So All files should load. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLease help on this&lt;/P&gt;&lt;P&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/Load-all-files-from-folder/m-p/117656#M753924</guid>
      <dc:creator>viveksingh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files from folder</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117657#M753925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. If all these files have the same structure then you can use a wildcard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 14px; font-family: sans-serif;"&gt;LOAD * from [PathToFolder\*.xls](ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 14px; font-family: sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 14px; font-family: sans-serif;"&gt;or like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 14px; font-family: sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 13.3333330154419px; font-family: sans-serif;"&gt;[Table]: LOAD * InLine [TempField];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;for each FoundFile in filelist( 'PathToFolder\*.&lt;SPAN style="color: #222222; font-family: sans-serif; font-size: 14px;"&gt;xls&lt;/SPAN&gt;')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If SomeCondition Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concatenate(Table) &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; LOAD * from [$(FoundFile)] &lt;SPAN style="color: #222222; font-family: sans-serif; font-size: 14px;"&gt;(ooxml, embedded labels, table is Sheet1)&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndIf &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;next FoundFile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 03:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117657#M753925</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-09-28T03:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files from folder</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117658#M753926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Thanks for the reply Andrew. &lt;/P&gt;&lt;P&gt;All files are text files Which comes on daily basis. &lt;/P&gt;&lt;P&gt;lets say for today- 28/9/2018. Below is the file name&lt;/P&gt;&lt;P&gt;textfile_2018-sept-28.txt&lt;/P&gt;&lt;P&gt;for tomorrow we will get one more file. Which mean in the folder we have two files. One is yesterday file and other is today’s fil. We have to load both. &lt;/P&gt;&lt;P&gt; list of files available in the folder for tomorrow:&lt;/P&gt;&lt;P&gt;textfile_2018-sept-28.txt&lt;/P&gt;&lt;P&gt;textfile_2018-sept-29.txt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 03:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117658#M753926</guid>
      <dc:creator>viveksingh</dc:creator>
      <dc:date>2018-09-28T03:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files from folder</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117659#M753927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to put asterisk to the path&lt;/P&gt;&lt;P&gt;LOAD * FROM [PathToFolder\&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;textfile_2018-sept-*&lt;/SPAN&gt;.txt] (txt, codepage is 1251, embedded labels, delimiter is ' ', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 04:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117659#M753927</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-09-28T04:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files from folder</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117660#M753928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the sane and working fine. But my concern is going forward the year will change like 2019 and month also changes. so for that i have created two variables one is for current year and other is for current month. How to add this variable in from path. &lt;/P&gt;&lt;P&gt;Let v_current_year= year(today());&lt;/P&gt;&lt;P&gt;Ler v_current_month=Num(month(today()));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 05:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117660#M753928</guid>
      <dc:creator>viveksingh</dc:creator>
      <dc:date>2018-09-28T05:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files from folder</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117661#M753929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to load all files to the only table then slightly change the path&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LOAD * FROM [PathToFolder\&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;textfile_20*-*-*&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;.txt] (txt, codepage is 1251, embedded labels, delimiter is ' ', msq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LOAD * FROM [PathToFolder\&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;textfile_$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;v_current_year&lt;/SPAN&gt;)-$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;v_current_month&lt;/SPAN&gt;)-*&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;.txt] (txt, codepage is 1251, embedded labels, delimiter is ' ', msq);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;but &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;v_current_month&lt;/STRONG&gt; in this case is numeric like 1, 2,...12 and files must be renamed as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;textfile_2018-9-28.txt&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 05:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117661#M753929</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-09-28T05:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files from folder</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117662#M753930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just want some clarification, do you want to load every files from the folder? Or you want to load only files for the current month or only files for last two days?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to load all files than you can use the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM [FolderPath\textfile_*.txt](&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;txt, codepage is 1251, embedded labels, delimiter is ' ', msq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Rajiv.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-from-folder/m-p/117662#M753930</guid>
      <dc:creator>rajivmeher</dc:creator>
      <dc:date>2018-09-28T08:46:21Z</dc:date>
    </item>
  </channel>
</rss>

