<?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 Pulling data from multiple tabs in Excel and load each tab into a separate table in Qlik Sense in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pulling-data-from-multiple-tabs-in-Excel-and-load-each-tab-into/m-p/1675597#M4934</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;Qlik Sense Enterprise version. So there is no need to pull data into QVF via ODBC.&lt;BR /&gt;My data file is an Excel file with multiple tabs. I want to pull the data from each tab into a separate table.&lt;BR /&gt;I tried the code below. It is able to pull data. But, it concatenated the data from all tabs and put the result into one table. For some reason that I do not know, but it always load the data from both tabs into the same table named&amp;nbsp;Non_LCD.&lt;BR /&gt;Does any know why my code is not working the way it should be?&lt;/P&gt;&lt;P&gt;Here is the Code:&lt;/P&gt;&lt;P&gt;Unqualify *;&lt;BR /&gt;set vSheetArray = 'Non_LCD','LCD';&lt;BR /&gt;set i =0;&lt;BR /&gt;FOR each vSheet in $(vSheetArray)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; i=i+1;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if i=1 then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[Non_LCD]:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Load *&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; From [lib://AttachedFiles/Bridger.xlsx](ooxml, embedded labels, table is [$(vSheet)]);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ENDIF;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if i=2 then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[LCD]:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Load *&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;From [lib://AttachedFiles/Bridger.xlsx](ooxml, embedded labels, table is [$(vSheet)]);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ENDIF;&lt;BR /&gt;NEXT;&lt;/P&gt;&lt;P&gt;Here is the Loading Log:&lt;/P&gt;&lt;P&gt;Started loading data&lt;BR /&gt;Non_LCD &amp;lt;&amp;lt; Non_LCD Lines fetched: 998&lt;BR /&gt;Non_LCD &amp;lt;&amp;lt; LCD Lines fetched:&lt;BR /&gt;1,010 Creating search index Search index creation completed successfully&lt;BR /&gt;App saved&lt;BR /&gt;Finished successfully&lt;BR /&gt;0 forced error(s)&lt;BR /&gt;0 synthetic key(s)&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 18:06:40 GMT</pubDate>
    <dc:creator>henryjhu</dc:creator>
    <dc:date>2021-12-13T18:06:40Z</dc:date>
    <item>
      <title>Pulling data from multiple tabs in Excel and load each tab into a separate table in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pulling-data-from-multiple-tabs-in-Excel-and-load-each-tab-into/m-p/1675597#M4934</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;Qlik Sense Enterprise version. So there is no need to pull data into QVF via ODBC.&lt;BR /&gt;My data file is an Excel file with multiple tabs. I want to pull the data from each tab into a separate table.&lt;BR /&gt;I tried the code below. It is able to pull data. But, it concatenated the data from all tabs and put the result into one table. For some reason that I do not know, but it always load the data from both tabs into the same table named&amp;nbsp;Non_LCD.&lt;BR /&gt;Does any know why my code is not working the way it should be?&lt;/P&gt;&lt;P&gt;Here is the Code:&lt;/P&gt;&lt;P&gt;Unqualify *;&lt;BR /&gt;set vSheetArray = 'Non_LCD','LCD';&lt;BR /&gt;set i =0;&lt;BR /&gt;FOR each vSheet in $(vSheetArray)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; i=i+1;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if i=1 then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[Non_LCD]:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Load *&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; From [lib://AttachedFiles/Bridger.xlsx](ooxml, embedded labels, table is [$(vSheet)]);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ENDIF;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if i=2 then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[LCD]:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Load *&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;From [lib://AttachedFiles/Bridger.xlsx](ooxml, embedded labels, table is [$(vSheet)]);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ENDIF;&lt;BR /&gt;NEXT;&lt;/P&gt;&lt;P&gt;Here is the Loading Log:&lt;/P&gt;&lt;P&gt;Started loading data&lt;BR /&gt;Non_LCD &amp;lt;&amp;lt; Non_LCD Lines fetched: 998&lt;BR /&gt;Non_LCD &amp;lt;&amp;lt; LCD Lines fetched:&lt;BR /&gt;1,010 Creating search index Search index creation completed successfully&lt;BR /&gt;App saved&lt;BR /&gt;Finished successfully&lt;BR /&gt;0 forced error(s)&lt;BR /&gt;0 synthetic key(s)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 18:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Pulling-data-from-multiple-tabs-in-Excel-and-load-each-tab-into/m-p/1675597#M4934</guid>
      <dc:creator>henryjhu</dc:creator>
      <dc:date>2021-12-13T18:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling data from multiple tabs in Excel and load each tab into a separate table in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pulling-data-from-multiple-tabs-in-Excel-and-load-each-tab-into/m-p/1676057#M4939</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This might help you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unqualify *;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set vSheetArray = 'Non_LCD','LCD';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set i =0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FOR each vSheet in $(vSheetArray)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; i=i+1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if i=1 then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Qualify *;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NoConcatenate&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[Non_LCD]:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Load *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; From [lib://AttachedFiles/Bridger.xlsx](ooxml, embedded labels, table is [$(vSheet)]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ENDIF;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if i=2 then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Qualify *;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NoConcatenate&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[LCD]:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Load *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;From [lib://AttachedFiles/Bridger.xlsx](ooxml, embedded labels, table is [$(vSheet)]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ENDIF;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NEXT;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To avoid the synthetic key i have used Qualify statement.&lt;/P&gt;&lt;P&gt;You can use Noconcatenate which will avoid the qlik behavioral concat of same fields.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 17:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Pulling-data-from-multiple-tabs-in-Excel-and-load-each-tab-into/m-p/1676057#M4939</guid>
      <dc:creator>Prashant_Naik</dc:creator>
      <dc:date>2020-02-16T17:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling data from multiple tabs in Excel and load each tab into a separate table in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pulling-data-from-multiple-tabs-in-Excel-and-load-each-tab-into/m-p/1676065#M4941</link>
      <description>Thank you Prashant !.&lt;BR /&gt;</description>
      <pubDate>Sun, 16 Feb 2020 18:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Pulling-data-from-multiple-tabs-in-Excel-and-load-each-tab-into/m-p/1676065#M4941</guid>
      <dc:creator>henryjhu</dc:creator>
      <dc:date>2020-02-16T18:33:46Z</dc:date>
    </item>
  </channel>
</rss>

