<?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 Blank lines in Excel when using Table Wizard in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/350998#M704093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a work around, I'd suggest loading all lines, with no Header, and use functions Peek() or Previous() to compare the previous line Header to "Job Number" and based on this condition, loading the following line as the job number. I know it's a bit ugly, but maybe it can get you around the problem...&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;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2012 01:24:55 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2012-05-15T01:24:55Z</dc:date>
    <item>
      <title>Blank lines in Excel when using Table Wizard</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/350997#M704092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assume two Excel 2010 workbooks, 1 worksheet each.&amp;nbsp; Worksheets are identical in terms of data elements and the location of data elements in each worksheet, From both workbooks, I am loading only one data element and it is "JobNumber" contained in cell D40 in each workbook.&amp;nbsp; The label "JobNumber" is contained in cell D39 in both workbooks.&amp;nbsp; Both workbooks have other data that I am not loading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Workbook A:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Rows 5, 10, and 15 are blank&lt;/P&gt;&lt;P&gt;Table wizard tells me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load Job Number from Workbook A&lt;/P&gt;&lt;P&gt;LOAD JobNumber&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, header is 36 lines, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Workbook B:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;No rows are blank&lt;/P&gt;&lt;P&gt;Table wizard tells me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load Job Number from Workbook A&lt;/P&gt;&lt;P&gt;LOAD JobNumber&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, header is 39 lines, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this I conclude that Table Wizard ignores blank lines when counting necessary lines for the header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that I have several hundred workbooks in folder "Test" - not just two.&amp;nbsp; Workbook file names are unique.&amp;nbsp;&amp;nbsp; I am actually loading 26 data elements from each workbook -- the same&amp;nbsp; data elements from each workbook.&amp;nbsp; However, in the context of this example, some workbooks have no blank lines, some have 1, some have 2, some have 15, etc.&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to load all the required data with one load script - e.g. in the context of the above example the load script is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load Job Number from all workbooks&lt;/P&gt;&lt;P&gt;LOAD JobNumber&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, header is 36 lines);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "header is 36 lines" part only works for the workbooks that have three blank lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not practical for me to manually enter some dummy data in each workbook so all workbooks have no blank rows.&lt;/P&gt;&lt;P&gt;Is there a way to load all the required data, from each of several hundred workbooks, with one load statement - e.g. get QV to count blank rows when interpreting the number of lines in the header?&amp;nbsp; Maybe on the front end of the load create a new field "EventNumber" and have QV assign a sequential number as data in each (blank and non-blank) row in each workbook?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My QV skills are liminted - any suggestions would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 20:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/350997#M704092</guid>
      <dc:creator />
      <dc:date>2012-05-14T20:56:03Z</dc:date>
    </item>
    <item>
      <title>Blank lines in Excel when using Table Wizard</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/350998#M704093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a work around, I'd suggest loading all lines, with no Header, and use functions Peek() or Previous() to compare the previous line Header to "Job Number" and based on this condition, loading the following line as the job number. I know it's a bit ugly, but maybe it can get you around the problem...&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;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 01:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/350998#M704093</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2012-05-15T01:24:55Z</dc:date>
    </item>
    <item>
      <title>Blank lines in Excel when using Table Wizard</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/350999#M704094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Oleg - Don't you work with Phil?&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 12:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/350999#M704094</guid>
      <dc:creator />
      <dc:date>2012-05-15T12:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Blank lines in Excel when using Table Wizard</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/351000#M704095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bgulledge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the responses in this thread for tabulating blank Excel spreadsheet rows via the ODBC connection&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/&amp;quot;http:/community.qlik.com/create-advanced-comment.jspa"&gt;http://community.qlik.com/create-advanced-comment.jspa&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 17:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/351000#M704095</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2014-09-02T17:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Blank lines in Excel when using Table Wizard</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/351001#M704096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at Jonathan Poole's post in this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/131625"&gt;Need to import blank lines from Excel Workbook&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Oh well, that post is from 2012&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 17:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-lines-in-Excel-when-using-Table-Wizard/m-p/351001#M704096</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-09-02T17:30:06Z</dc:date>
    </item>
  </channel>
</rss>

