<?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: Unknown LOAD statement error in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561424#M40873</link>
    <description>&lt;P&gt;set vRoot = '.';&lt;/P&gt;&lt;P&gt;FOR Each File in filelist ('$(The Store Name Agg (brand_mike.smith)\*.xlsx')&lt;BR /&gt;Temp:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM&lt;BR /&gt;[$(File)]&lt;BR /&gt;(ooxml, no labels, table is THS);&lt;BR /&gt;let qvdname= replace(File,'xlsx','qvd');&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;next File&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2019 15:12:09 GMT</pubDate>
    <dc:creator>EvanBarrick</dc:creator>
    <dc:date>2019-03-26T15:12:09Z</dc:date>
    <item>
      <title>Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561360#M40864</link>
      <description>&lt;P&gt;I am attempting to run the following script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thsSALESDATA:&lt;BR /&gt;BUFFER (incremental) LOAD * FROM [lib://THS Aggregate (brand_mike.smith)/*.xlsx](ooxml, embedded labels, table is THS);&lt;/P&gt;&lt;P&gt;STORE thsSALESDATA INTO [lib://QVD (brand_mike.smith)/THSaggregate.qvd(qvd)];&lt;/P&gt;&lt;P&gt;There are three files in the directory from which I am loading; they all have the same number of columns and exactly the same headers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be causing this error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 13:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561360#M40864</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-03-26T13:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561377#M40865</link>
      <description>can you share the error log/output</description>
      <pubDate>Tue, 26 Mar 2019 14:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561377#M40865</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-03-26T14:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561386#M40866</link>
      <description>&lt;DIV class="headline edc_error"&gt;The following error occurred:&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;Unknown LOAD statement error&lt;/DIV&gt;&lt;DIV class="empty undefined"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="headline edc_error"&gt;The error occurred here:&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;TMsalesData: BUFFER (incremental) LOAD * FROM [lib://TMaggregate (brand_mike.smith)/*.xlsx](ooxml, embedded labels, table is TM)&lt;/DIV&gt;&lt;DIV class="empty undefined"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="headline edc_error"&gt;The following error occurred:&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;Unknown LOAD statement error&lt;/DIV&gt;&lt;DIV class="empty undefined"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="headline edc_error"&gt;The error occurred here:&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;?&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Mar 2019 14:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561386#M40866</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-03-26T14:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561391#M40867</link>
      <description>Hard to help my friend.&lt;BR /&gt;but buffer incremental afik only works on text files (csvs) not xlsx&lt;BR /&gt;not sure if this is the cause but worth a try&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Mar 2019 14:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561391#M40867</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-03-26T14:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561395#M40868</link>
      <description>&lt;P&gt;I have used this script for similar directories with .xlsx files several times, which is why this is puzzling&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 14:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561395#M40868</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-03-26T14:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561401#M40869</link>
      <description>to identify the error i recommend Trying to load the files without the *.xlsx&lt;BR /&gt;if you have a lot of files there try a loop like below you can eliminate issues with the files&lt;BR /&gt;&lt;BR /&gt;set vRoot = '.';&lt;BR /&gt;FOR Each File in filelist ('$(vRoot)'&amp;amp;'\*.xlsx')&lt;BR /&gt;Temp:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM&lt;BR /&gt;[$(File)]&lt;BR /&gt;(ooxml, no labels, table is data);&lt;BR /&gt;let qvdname= replace(File,'xlsx','qvd');&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;next File</description>
      <pubDate>Tue, 26 Mar 2019 14:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561401#M40869</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-03-26T14:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561418#M40870</link>
      <description>&lt;P&gt;Thanks for this, where do I designate where my directory in your example?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 15:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561418#M40870</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-03-26T15:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561421#M40871</link>
      <description>&lt;P&gt;&lt;SPAN&gt;vRoot&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 15:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561421#M40871</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-03-26T15:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561423#M40872</link>
      <description>personally i dislike load with *.xlsx hard to pin down errors. e.g. someone put a extra space in tab name etc.&lt;BR /&gt;i tend to use a loop like this which will error out at the exact file which causes problem</description>
      <pubDate>Tue, 26 Mar 2019 15:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561423#M40872</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-03-26T15:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561424#M40873</link>
      <description>&lt;P&gt;set vRoot = '.';&lt;/P&gt;&lt;P&gt;FOR Each File in filelist ('$(The Store Name Agg (brand_mike.smith)\*.xlsx')&lt;BR /&gt;Temp:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM&lt;BR /&gt;[$(File)]&lt;BR /&gt;(ooxml, no labels, table is THS);&lt;BR /&gt;let qvdname= replace(File,'xlsx','qvd');&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;next File&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 15:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561424#M40873</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-03-26T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561430#M40874</link>
      <description>&lt;P&gt;this is how I set my script but am getting an error&lt;/P&gt;&lt;P&gt;set vRoot = '.';&lt;/P&gt;&lt;P&gt;FOR Each File in filelist ('$(The Store Name Agg (brand_mike.smith)\*.xlsx')&lt;BR /&gt;Temp:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM&lt;BR /&gt;[$(File)]&lt;BR /&gt;(ooxml, no labels, table is THS);&lt;BR /&gt;let qvdname= replace(File,'xlsx','qvd')&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 15:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561430#M40874</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-03-26T15:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561434#M40875</link>
      <description>&lt;P&gt;Sorry i missed next file line at the end and forgot it was qlik sense.&lt;/P&gt;&lt;P&gt;see below change&amp;nbsp;lib://TestLoop to your connection string&lt;/P&gt;&lt;P&gt;set vRoot = 'lib://TestLoop';&lt;BR /&gt;FOR Each File in filelist ('$(vRoot)'&amp;amp;'\*.xlsx')&lt;BR /&gt;Temp:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM&lt;BR /&gt;[$(File)]&lt;BR /&gt;(ooxml, no labels, table is data);&lt;BR /&gt;let qvdname= replace(File,'xlsx','qvd');&lt;/P&gt;&lt;P&gt;next File&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 15:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561434#M40875</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-03-26T15:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561438#M40876</link>
      <description>&lt;P&gt;This loads successfully with no errors. I like this format of loading in the data than what I was trying to do. Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 15:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561438#M40876</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-03-26T15:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown LOAD statement error</title>
      <link>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561439#M40877</link>
      <description>No problem. glad to help&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Mar 2019 15:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unknown-LOAD-statement-error/m-p/1561439#M40877</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-03-26T15:27:10Z</dc:date>
    </item>
  </channel>
</rss>

