<?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 - Loop through Excel Files and Worksheets in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170569#M21358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not quite sure this is what you want but here it goes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to make sense with your excel files. For example, gave them the same inicial name: ExcelFile[1], ExcelFile[2], etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then on data load editor put&amp;nbsp; &lt;STRONG&gt;FROM [lib://NS/ExcelFile*.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should load all files in directory that start with ExcelFile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then give your sheets the same name too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: ExcelFileSheet &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; FROM [lib://NS/ExcelFile*.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, header is 5 lines, table is ExcelFileSheet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is suppose to make you data load editor, to load all files,&amp;nbsp; whose name starts with ExcelFile, and all sheets with name EscelFileSheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if there's something you didn´t understand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sílvia Ganhão&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jun 2016 16:36:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-20T16:36:40Z</dc:date>
    <item>
      <title>Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170568#M21357</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;&lt;/P&gt;&lt;P&gt;I have a QlikView model which I'm busy converting to Qlik Sense.&amp;nbsp; I'm now stuck and would like to find out if someone has resolved this and/or if there is a resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QlikView I read all .xlsx files from a specific directory (these files are stored here every month).&amp;nbsp; Then I read all the sheets of each of those Excel files but make use of the "SQLTABLES" to access those Worksheets.&amp;nbsp; In other words, I loop through all Excel files in a specific directory and then read all columns of all Worksheets within each Excel file.&amp;nbsp; And there is no standard this is all dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I can do this in Sense by creating an ODBC to the Excel file (which is now a LIB connections) but I cannot do this dynamically.&amp;nbsp; So I can loop through the Excel files (the directory), and I can loop through each Worksheet, but ONLY for 1 Excel files which you have to set up on ODBC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please tell me if this is actually possible and how this can be achieved in Sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 12:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170568#M21357</guid>
      <dc:creator>rcurlewis</dc:creator>
      <dc:date>2016-05-18T12:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170569#M21358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not quite sure this is what you want but here it goes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to make sense with your excel files. For example, gave them the same inicial name: ExcelFile[1], ExcelFile[2], etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then on data load editor put&amp;nbsp; &lt;STRONG&gt;FROM [lib://NS/ExcelFile*.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should load all files in directory that start with ExcelFile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then give your sheets the same name too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: ExcelFileSheet &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; FROM [lib://NS/ExcelFile*.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, header is 5 lines, table is ExcelFileSheet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is suppose to make you data load editor, to load all files,&amp;nbsp; whose name starts with ExcelFile, and all sheets with name EscelFileSheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if there's something you didn´t understand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sílvia Ganhão&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 16:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170569#M21358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-20T16:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170570#M21359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub ReadMultipleExcel (Root)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each File in filelist (Root&amp;amp;'\*.xlsx')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YourTable:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&amp;nbsp; * FROM [$(File)] (ooxml, embedded labels, table is YourSheet)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next File&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;Call ReadMultipleExcel ('lib://YourFiles')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will loop through every xlsx file and read it's content. &lt;/P&gt;&lt;P&gt;As far as I get your state, you have same structured files, but other timestamp in filename.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The $(File) variable contains the filename, you can extract the date from it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 07:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170570#M21359</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2016-06-21T07:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170571#M21360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look to this doc , it helped me for the same case :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-7860"&gt;https://community.qlik.com/docs/DOC-7860&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;Loading Multiple Excel Sheets Dynamically along with file name and sheet name&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 11:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170571#M21360</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2016-06-21T11:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170572#M21361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, thanks for all the feedback.&amp;nbsp; But there is one thing I think you miss in my question.&amp;nbsp; The above all works 100% in QlikView.&amp;nbsp; My questions is has someone actual managed to get this done in Qlik Sense.&amp;nbsp; I'm using Qlik Sense quite a lot now and I can loop through the files with no problem.&amp;nbsp; As soon as you try to loop through the sheets, you get the problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone managed this in Sense somehow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 21:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170572#M21361</guid>
      <dc:creator>rcurlewis</dc:creator>
      <dc:date>2016-06-21T21:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170573#M21362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;You will need to use the Legacy Mode.&lt;/P&gt;&lt;P&gt;Have a look at this post&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4294"&gt;Qlik Sense Legacy mode&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 09:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170573#M21362</guid>
      <dc:creator>johnh</dc:creator>
      <dc:date>2016-06-22T09:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170574#M21363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bruno, but I would have liked to do this in Qlik Sense without the "Legacy mode".&amp;nbsp; My guess is that this is not yet possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 14:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170574#M21363</guid>
      <dc:creator>rcurlewis</dc:creator>
      <dc:date>2016-07-21T14:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170575#M21364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John, that will work, but I was wondering if it is possible without doing the "Legacy Mode" trick.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 14:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170575#M21364</guid>
      <dc:creator>rcurlewis</dc:creator>
      <dc:date>2016-07-21T14:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170576#M21365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you somehow figure it out? I have the same problem now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 14:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170576#M21365</guid>
      <dc:creator>JaMajka1</dc:creator>
      <dc:date>2016-10-27T14:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170577#M21366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No I did not yet find another way, but the above solution from John.&amp;nbsp; I will try again with the new Sense versions, and reply once I can get this to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 06:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170577#M21366</guid>
      <dc:creator>rcurlewis</dc:creator>
      <dc:date>2016-10-28T06:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170578#M21367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an update to this without having to use Legacy Mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 12:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170578#M21367</guid>
      <dc:creator>mstoler</dc:creator>
      <dc:date>2018-11-02T12:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Loop through Excel Files and Worksheets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170579#M21368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not that I know of yet.&amp;nbsp; Legacy mode seems to be the only way at this moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2018 07:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Loop-through-Excel-Files-and-Worksheets/m-p/1170579#M21368</guid>
      <dc:creator>rcurlewis</dc:creator>
      <dc:date>2018-11-03T07:54:19Z</dc:date>
    </item>
  </channel>
</rss>

