<?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 (and unknown number of) sheets from Excel into QlikSense in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-multiple-and-unknown-number-of-sheets-from-Excel-into/m-p/1922128#M10628</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;we are moving from Qv to QS, and we have found another issue: we are reading sheets from different Excel files. We don't know the number of sheets or their names, so we are using this piece of ocde in QlikView that owrks like a charm:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;for each file in FileList('\\qlikserver\Excel_Sources\SourceFile.xlsx')&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ODBC CONNECT32 TO [Excel Files;DBQ=$(file)];&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;temp_tables:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SQLtables;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DISCONNECT;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This creates a table (temp_tables) with the names of all the sheets in the SourceFile.clsx in the TABLE_NAME field.&lt;/P&gt;
&lt;P&gt;The issue is that this is not working in QlikSense: I have not been able to re-create the connections as LIB connections and make this work. I have tried with this but nothing good happens:&lt;/P&gt;
&lt;P&gt;for each file in FileList ('[lib://&lt;EM&gt;qlikserver\Excel_Sources\SourceFile&lt;/EM&gt;&amp;nbsp;.xlsx]')&lt;BR /&gt;LIB CONNECT TO 'Excel)';&amp;nbsp; //no place for&amp;nbsp;&lt;EM&gt;DBQ=$(file)];?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Has anyone faced this before?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2022 12:46:17 GMT</pubDate>
    <dc:creator>salto</dc:creator>
    <dc:date>2022-04-25T12:46:17Z</dc:date>
    <item>
      <title>Load multiple (and unknown number of) sheets from Excel into QlikSense</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-multiple-and-unknown-number-of-sheets-from-Excel-into/m-p/1922128#M10628</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;we are moving from Qv to QS, and we have found another issue: we are reading sheets from different Excel files. We don't know the number of sheets or their names, so we are using this piece of ocde in QlikView that owrks like a charm:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;for each file in FileList('\\qlikserver\Excel_Sources\SourceFile.xlsx')&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ODBC CONNECT32 TO [Excel Files;DBQ=$(file)];&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;temp_tables:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SQLtables;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DISCONNECT;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This creates a table (temp_tables) with the names of all the sheets in the SourceFile.clsx in the TABLE_NAME field.&lt;/P&gt;
&lt;P&gt;The issue is that this is not working in QlikSense: I have not been able to re-create the connections as LIB connections and make this work. I have tried with this but nothing good happens:&lt;/P&gt;
&lt;P&gt;for each file in FileList ('[lib://&lt;EM&gt;qlikserver\Excel_Sources\SourceFile&lt;/EM&gt;&amp;nbsp;.xlsx]')&lt;BR /&gt;LIB CONNECT TO 'Excel)';&amp;nbsp; //no place for&amp;nbsp;&lt;EM&gt;DBQ=$(file)];?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Has anyone faced this before?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 12:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-multiple-and-unknown-number-of-sheets-from-Excel-into/m-p/1922128#M10628</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2022-04-25T12:46:17Z</dc:date>
    </item>
  </channel>
</rss>

