<?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 LOAD MULTIPLE EXCEL FILES WITH MULTIPLE SHEETS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10186#M781741</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;I have multiple files (File names like 2010Data,2011Data&amp;nbsp; etc) and each file with sheets from Jan till Dec. I have tried the load multiple files with multiple sheets dynamically link which was posted earlier but script is executed and all files with sheets are loading in the execution window but the progress does not stop in execution window and even after all files are looped and loaded. i think there is some issue in the code, can any one suggest the error in the code please?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7860" target="_blank"&gt;Loading Multiple Excel Sheets Dynamically along with file name and sheet name&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>LOAD MULTIPLE EXCEL FILES WITH MULTIPLE SHEETS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10186#M781741</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;I have multiple files (File names like 2010Data,2011Data&amp;nbsp; etc) and each file with sheets from Jan till Dec. I have tried the load multiple files with multiple sheets dynamically link which was posted earlier but script is executed and all files with sheets are loading in the execution window but the progress does not stop in execution window and even after all files are looped and loaded. i think there is some issue in the code, can any one suggest the error in the code please?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7860" target="_blank"&gt;Loading Multiple Excel Sheets Dynamically along with file name and sheet name&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&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-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10186#M781741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD MULTIPLE EXCEL FILES WITH MULTIPLE SHEETS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10187#M781743</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;Can you provide the code you are using so we can look into it directly? It's hard to find faults on your script based on the link to another code you provided &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 14:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10187#M781743</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2018-03-26T14:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD MULTIPLE EXCEL FILES WITH MULTIPLE SHEETS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10188#M781745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niclas, below is the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR Each file in FileList('..\..\..\xxx\xxxx\xxxxxx\Data\20*.xlsx');&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [Excel Files;DBQ=$(file)];&lt;/P&gt;&lt;P&gt;tables:&lt;BR /&gt;SQLtables;&lt;/P&gt;&lt;P&gt;for i = 0 to NoOfRows('tables')-1&lt;/P&gt;&lt;P&gt;let sheetname =PurgeChar(PurgeChar(peek('TABLE_NAME',i,'tables'),chr(39)),chr(36));&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;load *,&lt;BR /&gt;FileBaseName() as File,&lt;BR /&gt;FileDir() as Dir,&lt;BR /&gt;FileName() as File_Name,&lt;BR /&gt;'$(sheetname)' as Sheet_Name&lt;BR /&gt;from $(file) (ooxml, embedded labels, header is 2 lines, table is [$(sheetname)]);&lt;BR /&gt;next i&lt;BR /&gt;drop table tables;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;EXIT Script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code executes and i can see 12 lines per table loading in the execution window , 12 months per excel table but the loop does not break . script execution needs to be aborted .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 14:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10188#M781745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-26T14:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD MULTIPLE EXCEL FILES WITH MULTIPLE SHEETS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10189#M781747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;can you trace the name of the file ?&lt;/P&gt;&lt;P&gt;i mean is it always the same of do you read each file in turn&lt;/P&gt;&lt;P&gt;and does it end ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 14:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10189#M781747</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-03-26T14:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD MULTIPLE EXCEL FILES WITH MULTIPLE SHEETS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10190#M781748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivier, i can trace the filename , like : 2012Data 12 lines (Jan to dec sheets) and followed by 2013Data 12 lines(sheets) and so on after reading all the data from all the excel tables the script should end executing , but not in my case. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 14:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10190#M781748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-26T14:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD MULTIPLE EXCEL FILES WITH MULTIPLE SHEETS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10191#M781749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you see all files, but the script doesn' and, it's probably because QV is creating synthetic keys&lt;/P&gt;&lt;P&gt;try 2 things :&lt;/P&gt;&lt;P&gt;- load only one sheet of 1 excel&lt;/P&gt;&lt;P&gt;- try to force the loading into the same table by using concatenate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 14:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10191#M781749</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-03-26T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD MULTIPLE EXCEL FILES WITH MULTIPLE SHEETS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10192#M781750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi can you try to create the Table first using a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;tempcolumn&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then inside your loop replace the Table header with&lt;/P&gt;&lt;P&gt;concatenate(Table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you are creating 12 identical tables per excel sheet which causes your application to try and make synthetic keys between them which is why it appears to not exit. Your computer is actually working really hard to make sense of all the synthetic keys, which tends to take a while, especially if you have a lot of identical tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 07:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-MULTIPLE-EXCEL-FILES-WITH-MULTIPLE-SHEETS/m-p/10192#M781750</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2018-03-27T07:46:24Z</dc:date>
    </item>
  </channel>
</rss>

