<?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: Loading Excel Files with Specific Names in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-with-Specific-Names/m-p/1809818#M1212473</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/105165"&gt;@podge2019&lt;/a&gt;, I suggest using for each file statement. Something like this (probably you will get some typos because I don't remember the exact syntax):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;for each File in filelist ([FQDN:\Path1\Path2\*_Commission_Report Pay Date*.xlsx])
   If Left('$(File)', 2) = 'ES' or ...
      LOAD 
         '$(File)' as FileName, 
         Other fields...
      FROM [FQDN:\Path1\Path2\$(File)]
      (ooxml, embedded labels, table is [Sheet1]);
   End If
next File&lt;/LI-CODE&gt;&lt;P&gt;JG&lt;/P&gt;</description>
    <pubDate>Fri, 21 May 2021 16:50:42 GMT</pubDate>
    <dc:creator>JuanGerardo</dc:creator>
    <dc:date>2021-05-21T16:50:42Z</dc:date>
    <item>
      <title>Loading Excel Files with Specific Names</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-with-Specific-Names/m-p/1809793#M1212470</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Looked on multiple previous posts and unfortunately cannot find what I'm looking for so looking for assistance.&lt;/P&gt;&lt;P&gt;The current app that I have loads an Excel File for a Specific country with maybe 25k lines on it.&lt;/P&gt;&lt;P&gt;The app now needs to load an additional country and I'm having a slight issue loading the file cleanly.&lt;/P&gt;&lt;P&gt;Currently I load a file path and name as below: - pretty straightforward...&lt;/P&gt;&lt;P&gt;Filename -&amp;nbsp;FR_Commission_Report Pay Date 202105_16.xlsx&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[FQDN:\Path1\Path2\*FR_Commission_Report Pay Date*.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is [Sheet1]);&lt;/P&gt;&lt;P&gt;In the location above files are automatically produced the for multiple Countries.&lt;/P&gt;&lt;P&gt;Now I need to pick up another file called ES_Commission_Report Pay Date 202105_16.xlsx&lt;/P&gt;&lt;P&gt;I know I could pick up all the files if I just use * Commmission_Report*, however, I don't want to load in all this unnecessary data.&lt;/P&gt;&lt;P&gt;I can also do a concatenate in my script but that just seems to be long winded when bringing in 40 columns headers unless there is a cleaner way to do it.&lt;/P&gt;&lt;P&gt;Basically is there a way to load file names containing FR and ES?&lt;/P&gt;&lt;P&gt;Could anyone provide guidance please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 14:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-with-Specific-Names/m-p/1809793#M1212470</guid>
      <dc:creator>podge2019</dc:creator>
      <dc:date>2021-05-21T14:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files with Specific Names</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-with-Specific-Names/m-p/1809818#M1212473</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/105165"&gt;@podge2019&lt;/a&gt;, I suggest using for each file statement. Something like this (probably you will get some typos because I don't remember the exact syntax):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;for each File in filelist ([FQDN:\Path1\Path2\*_Commission_Report Pay Date*.xlsx])
   If Left('$(File)', 2) = 'ES' or ...
      LOAD 
         '$(File)' as FileName, 
         Other fields...
      FROM [FQDN:\Path1\Path2\$(File)]
      (ooxml, embedded labels, table is [Sheet1]);
   End If
next File&lt;/LI-CODE&gt;&lt;P&gt;JG&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 16:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-with-Specific-Names/m-p/1809818#M1212473</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-05-21T16:50:42Z</dc:date>
    </item>
  </channel>
</rss>

