<?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 Possible Bug: LOAD @1 FROM [*.xls] (biff, no labels, table is Sheet1$); in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366596#M703700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm running QV11 and I've discovered that Qlikview seems to handle this load code wrong:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: courier new,courier; font-size: 12pt;"&gt;LOAD @1 FROM &lt;C&gt; (biff, no labels, table is Sheet1$);&lt;/C&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If the folder "&lt;SPAN style="color: #ff0000; font-family: courier new,courier;"&gt;c:\temp\&lt;/SPAN&gt;" contains only &lt;SPAN style="color: #0000ff;"&gt;*.xls &lt;/SPAN&gt;files it works fine, but if the folder contains both &lt;SPAN style="color: #0000ff;"&gt;*.xls &lt;/SPAN&gt;and &lt;SPAN style="color: #339966;"&gt;*.xlsx &lt;/SPAN&gt;files then Qlikview tries to load &lt;STRONG&gt;also &lt;/STRONG&gt;the *.xlsx files which will not work since *.xlsx files requires another specification &lt;SPAN style="color: #808000; font-family: courier new,courier;"&gt;(ooxml, no labels, table is Sheet1).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I expected from Qlikview was to &lt;SPAN style="font-size: 12pt;"&gt;only &lt;/SPAN&gt;load the &lt;SPAN style="color: #0000ff;"&gt;XLS &lt;/SPAN&gt;files and &lt;SPAN style="font-size: 12pt;"&gt;ignore &lt;/SPAN&gt;all &lt;SPAN style="color: #339966;"&gt;XLSX &lt;/SPAN&gt;files.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With this problem, I must make sure that no XLS and XLSX files are located in the same folder.&lt;/P&gt;&lt;P&gt;Can anyone verify this bug?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Robert Svebeck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2012 11:58:42 GMT</pubDate>
    <dc:creator>RSvebeck</dc:creator>
    <dc:date>2012-06-25T11:58:42Z</dc:date>
    <item>
      <title>Possible Bug: LOAD @1 FROM [*.xls] (biff, no labels, table is Sheet1$);</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366596#M703700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm running QV11 and I've discovered that Qlikview seems to handle this load code wrong:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: courier new,courier; font-size: 12pt;"&gt;LOAD @1 FROM &lt;C&gt; (biff, no labels, table is Sheet1$);&lt;/C&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If the folder "&lt;SPAN style="color: #ff0000; font-family: courier new,courier;"&gt;c:\temp\&lt;/SPAN&gt;" contains only &lt;SPAN style="color: #0000ff;"&gt;*.xls &lt;/SPAN&gt;files it works fine, but if the folder contains both &lt;SPAN style="color: #0000ff;"&gt;*.xls &lt;/SPAN&gt;and &lt;SPAN style="color: #339966;"&gt;*.xlsx &lt;/SPAN&gt;files then Qlikview tries to load &lt;STRONG&gt;also &lt;/STRONG&gt;the *.xlsx files which will not work since *.xlsx files requires another specification &lt;SPAN style="color: #808000; font-family: courier new,courier;"&gt;(ooxml, no labels, table is Sheet1).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I expected from Qlikview was to &lt;SPAN style="font-size: 12pt;"&gt;only &lt;/SPAN&gt;load the &lt;SPAN style="color: #0000ff;"&gt;XLS &lt;/SPAN&gt;files and &lt;SPAN style="font-size: 12pt;"&gt;ignore &lt;/SPAN&gt;all &lt;SPAN style="color: #339966;"&gt;XLSX &lt;/SPAN&gt;files.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With this problem, I must make sure that no XLS and XLSX files are located in the same folder.&lt;/P&gt;&lt;P&gt;Can anyone verify this bug?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Robert Svebeck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 11:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366596#M703700</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-06-25T11:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Bug: LOAD @1 FROM [*.xls] (biff, no labels, table is Sheet1$);</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366597#M703701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it seems that when QlikView gets to the "*" it stops reading the following chars, and load all files. But does that not happen if you use the "?" instead of the "*", meaning that if your files are File0.xls to File9.xls and likewise but with XLSX extension, using&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 _jivemacro_uid_13406280894657257" jivemacro_uid="_13406280894657257"&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM File?.xls&lt;/P&gt;&lt;P&gt;(biff, no labels, table is Sheet1$);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will work fine, loading only those files that have only one character before the extension. My assumption here is that for QlikView your example is equal to:&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 _jivemacro_uid_13406280894645239" jivemacro_uid="_13406280894645239"&gt;&lt;P&gt;FROM &lt;C&gt; (biff, no labels, table is Sheet1$);&lt;/C&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think it's worth opening a Support case with &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:support@qlik.com"&gt;support@qlik.com&lt;/A&gt;&lt;SPAN&gt; to see if this is a WAD or a bug.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revision 1: If there are some other files in the same folder named alike but with different extensions, they are not loaded when using the "*". But if these files use "*.xls100" as extension, they are loaded, so it's not that QlikView ignores the extension (as I thought in the first place) rather than it takes only the three first characters of the extension and therefore the error. Again, this must be some OS related error, but anyway worth checking with Support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 12:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366597#M703701</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-25T12:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Bug: LOAD @1 FROM [*.xls] (biff, no labels, table is Sheet1$);</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366598#M703702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ? solution is a good workaround&amp;nbsp; - but I can't use that since my filenames are not under my control, and I will also keep getting data in both XLS and XLSX into my folder. I will write a batch file to split the files into separate folder until I get a fix from Qliktech.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brg Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 12:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366598#M703702</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-06-25T12:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Bug: LOAD @1 FROM [*.xls] (biff, no labels, table is Sheet1$);</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366599#M703703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this has been answered, but what about using a ForEach zFile in FileList(...) to loop over the files. zFile will get the filname, which you can analyse whether it is xls or xlsx and load using the correct load attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just my 2c worth.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 13:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366599#M703703</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-06-25T13:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Bug: LOAD @1 FROM [*.xls] (biff, no labels, table is Sheet1$);</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366600#M703704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats a great suggestion! I will do that instead. Thanks! //Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 07:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366600#M703704</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-06-26T07:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Bug: LOAD @1 FROM [*.xls] (biff, no labels, table is Sheet1$);</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366601#M703705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For future references: Here is my complete script with that work-around:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each zFile in filelist (c:\temp\*')&lt;/P&gt;&lt;P&gt; if right('$(zFile)',4) = 'xlsx' then&lt;/P&gt;&lt;P&gt; LOAD Field1 FROM $(zFile) (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt; end if;&lt;/P&gt;&lt;P&gt; if right('$(zFile)',3) = 'xls' then&lt;/P&gt;&lt;P&gt; LOAD Field1 FROM $(zFile) (biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt; end if;&lt;/P&gt;&lt;P&gt;next zFile;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 08:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366601#M703705</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2012-06-26T08:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Bug: LOAD @1 FROM [*.xls] (biff, no labels, table is Sheet1$);</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366602#M703706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent Robert&lt;/P&gt;&lt;P&gt;Solution worked first time&lt;/P&gt;&lt;P&gt;I used it to define xls, xlsm, and xlsx files in the same folder&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 09:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-Bug-LOAD-1-FROM-xls-biff-no-labels-table-is-Sheet1/m-p/366602#M703706</guid>
      <dc:creator />
      <dc:date>2013-04-01T09:22:15Z</dc:date>
    </item>
  </channel>
</rss>

