<?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: Load Script - Excel Table Loads Now Failing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834517#M660202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved in the sense that it works (for now) as I modfied the script (as shown). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that Qlik appears to (rarely / occassionally) exclude a random number of blank Excel worksheet rows before the column heading row.&amp;nbsp; Seems to be a bug? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load data from many Excel files and do so regularly / reliably so wondered about the best way forward / best practice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2015 17:29:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-01T17:29:41Z</dc:date>
    <item>
      <title>Load Script - Excel Table Loads Now Failing</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834510#M660195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first post so go easy with me please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have my first Qlik application which was running just fine but which now fails to load data from a series of Excel files containing data in multiple worksheets.&amp;nbsp; This has been developed in a FOC copy of QlikView Desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that there could be a bug in the Exel (xlsx) load feaure such that when you have (multiple worksheets - may not be material) with embedded labels (column headings) and a worksheet header which includes some blank rows the load gets confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Excel files typically have 8 header rows. 3 of these are blank. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running the Script Table Files process it finds 5 lines (i.e. ignores blanks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Importing directly from the File Open (select Excel file), that finds 8 lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script was originally setup with the second method i.e. with 8 lines when starting out.&amp;nbsp; This worked for over a week (many edits / reloads). I entered a licence key into the product and now the script fails to load (cannot find tables / columns).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone had any similar experiences / or knows how to handle the situation or has a best practice example for Excel data import. I have many Excel files to import and need to refresh the data periodically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 09:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834510#M660195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-01T09:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script - Excel Table Loads Now Failing</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834511#M660196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you by any chance moved the location of your qvw file or the datasource itself? I recommend re-bringing the database into QlikView's script using the&amp;nbsp; using the File Open button (this will help change anything that might have changed in the database itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834511#M660196</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-01T15:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script - Excel Table Loads Now Failing</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834512#M660197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not on the original machine Sunny - I just added a licence key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set a path variable for the location of the various Excel files in my script. Should I add anything else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 16:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834512#M660197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-01T16:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script - Excel Table Loads Now Failing</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834513#M660198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very useful if you could post the script code and maybe some screenshots or dummy data of your Excel files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 16:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834513#M660198</guid>
      <dc:creator />
      <dc:date>2015-04-01T16:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script - Excel Table Loads Now Failing</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834514#M660199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know if the database was modified (sheet name changed from what it was before?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It could be because of many reason. Why don't you try to read the script for the particular table by using the '&lt;STRONG&gt;Table Files...&lt;/STRONG&gt;' button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 16:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834514#M660199</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-01T16:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script - Excel Table Loads Now Failing</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834515#M660200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The source files have the exact ame structure but I have had to SET vHeader1 = 5 and SET vHeader2 = 6 to get them to load again. The load seems to be adversly impacted by the presence of blank lines in header of the Excel file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script Declarations tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of the form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vPath = 'F:\Martyn\ .....\Data Reports\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Source data files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vTableA = 'Timesheets';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vFile1 = 'Source Timesheet Report 1.xlsx';&lt;/P&gt;&lt;P&gt;SET vSheet1 = 'Timesheets Prior_';&lt;/P&gt;&lt;P&gt;SET vHeader1 = 5;&lt;/P&gt;&lt;P&gt;SET vWhere1 = '[Employee Cost Centre]=1234';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vFile2 = 'Source Timesheet Report 2.xlsx';&lt;/P&gt;&lt;P&gt;SET vSheet2 = 'Timesheets Prior_';&lt;/P&gt;&lt;P&gt;SET vHeader2 = 6;&lt;/P&gt;&lt;P&gt;SET vWhere2 = '[Employee Cost Centre]=5678';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typical File Load tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loads of the form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'$(vTableA)':&lt;/P&gt;&lt;P&gt;LOAD [Employee etc....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;'$(vPath)$(vFile1)'&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, header is $(#vHeader1) lines, table is '$(vSheet1)')&lt;/P&gt;&lt;P&gt;WHERE($(vWhere1)) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE '$(vTableA)':&lt;/P&gt;&lt;P&gt;LOAD [Employee etc....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;'$(vPath)$(vFile2)'&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, header is $(#vHeader2) lines, table is '$(vSheet2)')&lt;/P&gt;&lt;P&gt;WHERE($(vWhere2)) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 17:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834515#M660200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-01T17:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script - Excel Table Loads Now Failing</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834516#M660201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry I'm not sure if you solved it or not using the vHeader variables &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 17:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834516#M660201</guid>
      <dc:creator />
      <dc:date>2015-04-01T17:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script - Excel Table Loads Now Failing</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834517#M660202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved in the sense that it works (for now) as I modfied the script (as shown). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that Qlik appears to (rarely / occassionally) exclude a random number of blank Excel worksheet rows before the column heading row.&amp;nbsp; Seems to be a bug? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load data from many Excel files and do so regularly / reliably so wondered about the best way forward / best practice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 17:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834517#M660202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-01T17:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script - Excel Table Loads Now Failing</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834518#M660203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some Excel loads have failed again using this month end's files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In&amp;nbsp; the case of the Timesheet workbook / worksheet header I had to set the line variable back to 5 lines from 6 lines for some of the cost centre files (all are in reality 8 lines including all blank lines).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any thoughts on how best to deal with this across many recurring spreadsheet loads?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 06:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Excel-Table-Loads-Now-Failing/m-p/834518#M660203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-03T06:50:06Z</dc:date>
    </item>
  </channel>
</rss>

