<?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: Reading from multiple worksheets using Qlikviews in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reading-from-multiple-worksheets-using-Qlikviews/m-p/251982#M1194428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It was really helpful. Because of From keyword it was searching files external to QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jul 2011 09:51:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-04T09:51:24Z</dc:date>
    <item>
      <title>Reading from multiple worksheets using Qlikviews</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-from-multiple-worksheets-using-Qlikviews/m-p/251980#M1194426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;SET FilepathName = &amp;lt;input file path&amp;gt;;&lt;/P&gt;&lt;P&gt;CONNECT TO [Excel Files;DBQ=$(FilepathName)];&lt;/P&gt;&lt;P&gt;tables:&amp;nbsp;&amp;nbsp; // Name the table that will be created by SQLTables stmt&lt;BR /&gt;SQLtables;&lt;BR /&gt;DISCONNECT;&amp;nbsp; // Don't need ODBC connection anymore&lt;/P&gt;&lt;P&gt;FOR SheetCounter = 0 to NoOfRows('tables')-1&lt;BR /&gt;&amp;nbsp; LET sheetName = purgeChar(peek('TABLE_NAME', SheetCounter, 'tables'), chr(39));&lt;BR /&gt;&amp;nbsp; DataTable:&lt;BR /&gt;&amp;nbsp; LOAD col1,col2,col3&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp; '$(sheetName)' as sheet&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM $(FilepathName) (biff, embedded labels, table is [$(sheetName)]);&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;NEXT&lt;BR /&gt;DROP Table tables;&lt;BR /&gt;Let rowlimit = NoOfRows(DataTable);&lt;/P&gt;&lt;P&gt;Table2:&lt;BR /&gt;Load col2,col3 from DataTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting following error message -&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cannot open file '&amp;lt;QVworking folder&amp;gt;\DataTable', The operation completed successfully.&lt;/P&gt;&lt;P&gt;Table2:&lt;BR /&gt;Load col2,col3 from DataTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 07:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-from-multiple-worksheets-using-Qlikviews/m-p/251980#M1194426</guid>
      <dc:creator />
      <dc:date>2011-07-04T07:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from multiple worksheets using Qlikviews</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-from-multiple-worksheets-using-Qlikviews/m-p/251981#M1194427</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;At a first glance, I don't know if that's a typo, but check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Let rowlimit = NoOfRows('DataTable'); // table needs to be single quoted&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Apart from that, you need to specify RESIDENT instead of FROM when loading from DataTable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Load col2,col3 &lt;/P&gt;&lt;P&gt;RESIDENT DataTable;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM keyword is intended to sources external to qlikview. RESIDENT means loading from an already previously loaded table, that is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 08:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-from-multiple-worksheets-using-Qlikviews/m-p/251981#M1194427</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-04T08:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from multiple worksheets using Qlikviews</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-from-multiple-worksheets-using-Qlikviews/m-p/251982#M1194428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It was really helpful. Because of From keyword it was searching files external to QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 09:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-from-multiple-worksheets-using-Qlikviews/m-p/251982#M1194428</guid>
      <dc:creator />
      <dc:date>2011-07-04T09:51:24Z</dc:date>
    </item>
  </channel>
</rss>

