Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Loading multiple Excel files from SharePoint

Hi All,

I am trying to load multiple excel files from SharePoint using FileList but didn't get through could you please suggest how can i load all the excel files from sharepoint,or please suggest if any workaround for this.

Please find the below code which i am using to read the files

Ex:

for Each file in FileList('https:\\SharePointlink\*.xlsx');

LOAD

  FileName('$(file)') as DocName

FROM

[$(file)]

(ooxml, embedded labels, table is Raw);

NEXT file

Thanks & Regards

Mallikarjuna

4 Replies
Not applicable
Author

what type of error you are getting?

Please check the user account have the read access on the share point site ?

Not applicable
Author

Hi Dathu,

Thanks for the reply,

I didnt get any error and i have full access to Sharepoint but the above script fail load the files

Regards

Malli

Not applicable
Author

Its look very wired. There is no data in thq qvw after reload ?

The work around is try to download all the files into Network drive or any folder and then initiate the reload from drive or folder.

Mean time I can test this use case from my share point site and let you know

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

As far as I know, the http and https protocols do not support file iteration using wildcard loads or FileList() loops. For loading data with ese protocols you will need to explicitly name the files.

Can you access these documents via a network shared drive instead? This is the only workaround I can suggest.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein