<?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: Loading multiple excel files from One Drive location in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933394#M76880</link>
    <description>&lt;P&gt;yes, I've checked that. It's not the problem with field names for sure - I have tried to load other fields in first place but with same result - always first loaded field had an error message&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2022 06:26:10 GMT</pubDate>
    <dc:creator>Emil_bros</dc:creator>
    <dc:date>2022-05-20T06:26:10Z</dc:date>
    <item>
      <title>Loading multiple excel files from One Drive location</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933391#M76877</link>
      <description>&lt;P&gt;Hi Colleagues,&lt;/P&gt;
&lt;P&gt;I have a strange issue with loading multiple excel files using One Drive connection (local one drive folder). All files have same format and layout but different names.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My script:&lt;/P&gt;
&lt;P&gt;for each File in ('lib://OneDrive_location/*.xlsm')&lt;/P&gt;
&lt;P&gt;VB23:&lt;BR /&gt;LOAD&lt;BR /&gt;2023 as Year,&lt;BR /&gt;Country,&lt;BR /&gt;Value&lt;BR /&gt;from $(File) (ooxml, embedded labels, header is 15 lines, table is VB2023) &lt;BR /&gt;next File&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as a result I get error message that Country field can't be found - don't know what can be the reason as in my understanding script looks fine and should work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;Emil&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 06:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933391#M76877</guid>
      <dc:creator>Emil_bros</dc:creator>
      <dc:date>2022-05-20T06:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple excel files from One Drive location</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933393#M76879</link>
      <description>&lt;P&gt;Check in the excel file whether the country name is same as in Qlik script or not?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 06:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933393#M76879</guid>
      <dc:creator>Sra1bandi</dc:creator>
      <dc:date>2022-05-20T06:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple excel files from One Drive location</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933394#M76880</link>
      <description>&lt;P&gt;yes, I've checked that. It's not the problem with field names for sure - I have tried to load other fields in first place but with same result - always first loaded field had an error message&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 06:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933394#M76880</guid>
      <dc:creator>Emil_bros</dc:creator>
      <dc:date>2022-05-20T06:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple excel files from One Drive location</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933399#M76882</link>
      <description>&lt;P&gt;If you have all the old files also please check the country name with upper and lower cases&amp;nbsp; in all the files&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;because i am faced same issue&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in one of the file the name is changed when i am renamed then it is worked fine&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 06:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933399#M76882</guid>
      <dc:creator>Sra1bandi</dc:creator>
      <dc:date>2022-05-20T06:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple excel files from One Drive location</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933402#M76884</link>
      <description>&lt;P&gt;fair point and thank you however it's not the case - I have checked naming. I have also tried to load each file separately and it works this way so names and formats are identical in all the files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 06:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933402#M76884</guid>
      <dc:creator>Emil_bros</dc:creator>
      <dc:date>2022-05-20T06:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple excel files from One Drive location</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933406#M76885</link>
      <description>&lt;P&gt;Other wise check with the sheet names which are present in Excel file&amp;nbsp;&lt;/P&gt;
&lt;P&gt;may be sheet name mismatch also it will possible to get the similar error&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 06:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933406#M76885</guid>
      <dc:creator>Sra1bandi</dc:creator>
      <dc:date>2022-05-20T06:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple excel files from One Drive location</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933409#M76887</link>
      <description>&lt;P&gt;again, that's not the case - I have loaded all files separately using same script and all was fine&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 06:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933409#M76887</guid>
      <dc:creator>Emil_bros</dc:creator>
      <dc:date>2022-05-20T06:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple excel files from One Drive location</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933432#M76889</link>
      <description>&lt;P&gt;You can load all xlsm files without looping&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Load *&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM 'lib://OneDrive_location/*.xlsm'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(ooxml, embedded labels, header is 15 lines, table is VB2023);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 07:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1933432#M76889</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-20T07:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple excel files from One Drive location</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1934045#M76942</link>
      <description>&lt;P&gt;You are loading the files completely with a wildcard which means each file with *.xlsm will be taken - if there are different ones or maybe also temporary files starting with a ~ or similar (depending on your system-settings you may not even see them). Therefore specifying a filename-pattern like: Sales*_??????_*.xlsm might avoid the access on wrong files.&lt;/P&gt;
&lt;P&gt;Beside the already mentioned suggestion to check if always an appropriate sheet and all listed field-names are there and also correctly spelled you may run into an issue with the specified header-lines. If an excel-row is completely empty and not involved in any function, naming, formatting or similar stuff this row will be skipped in regard to the counting - means in some files may the header lines lower than 15.&lt;/P&gt;
&lt;P&gt;Another issue happens if there are fields multiple times included because these field-names becomes counted and get a suffix like Country_1, Country_2 and then the load won't see a field Country anymore and run into an error.&lt;/P&gt;
&lt;P&gt;It's quite hard to detect all these possibilities manually especially by a lot of files but you could track where the error happens, for example with something like:&lt;/P&gt;
&lt;P&gt;for each File in ('lib://OneDrive_location/*.xlsm')&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;trace $(File);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;VB23:&lt;BR /&gt;LOAD&lt;BR /&gt;2023 as Year,&lt;BR /&gt;Country,&lt;BR /&gt;Value&lt;BR /&gt;from $(File) (ooxml, embedded labels, header is 15 lines, table is VB2023)&lt;BR /&gt;next File&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;within the progress window and within the document-log you could now see which files were successfully loaded and where it breaks. The failing file could you then grab with the table-wizard which will then show what's really there.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 05:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-multiple-excel-files-from-One-Drive-location/m-p/1934045#M76942</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-05-23T05:45:21Z</dc:date>
    </item>
  </channel>
</rss>

