Forum Discussion
How to load csv file from Sharepoint folder ?
- 9 years ago
Hi harsh,
I 'm not looking to get the name of the document names in tables as in your case, I 'm trying to open csv file to load data into the tables
Indeed, I knew exactly what your requirement is. I posted those photos above just wanted to let you know that I can load all files(including all files within sub folders) using the root URL like yours.:smileyhappy: We can then load data from csv file into tables in Query Editor. Following is the table I got from my "2016-02-05 Feb.csv" file on SharePoint.
Here is an article about how to loading Excel/CSV Files from Sharepoint in Power BI Desktop for your reference.
Regards
Hi harsh,
I tried this one "https://microsoft.sharepoint.com/teams/CECRMSP" it works however my folder and csv are located inside the sub folders how to get there ?
Are you not able to load any files from sub folders when using the root URL mentioned above? I have tested it on my side. I can load all files(including all files within sub folders) using the root URL like yours.
In addition, following is another solution that using the Web connector mentioned here. Please go and check if it works.
- Click Get Data-> Web
- Provide the full path to your Excel file on SharePoint
- Select authentication as Organisation and enter your O365 user id/password if needed
- You should then see a dialog box where you pick the tables you want to pull in
Regards
- harsh9 years agoHelper I
Hi JerryLi,
I 'm not looking to get the name of the document names in tables as in your case, I 'm trying to open csv file to load data into the tables however I 'm not able to do that since its not able to link the document which I have already mentioned in my question and the other link you gave using web it does not work too, you can check the comments from other people saying "invalid link" and so on same error I 'm getting even after signing correctly to my organisational account.
- v-ljerr-msft9 years agoMicrosoft Employee
Hi harsh,
I 'm not looking to get the name of the document names in tables as in your case, I 'm trying to open csv file to load data into the tables
Indeed, I knew exactly what your requirement is. I posted those photos above just wanted to let you know that I can load all files(including all files within sub folders) using the root URL like yours.:smileyhappy: We can then load data from csv file into tables in Query Editor. Following is the table I got from my "2016-02-05 Feb.csv" file on SharePoint.
Here is an article about how to loading Excel/CSV Files from Sharepoint in Power BI Desktop for your reference.
Regards
- harsh9 years agoHelper I
Hi v-ljerr-msft,
Sorry for replying late, I was on vacation.
Thanks for helping, I followed the steps and it worked for .csv file, is it possible to schedule a refresh ? I was trying to schedule however it gives below error, even thought the credentials are correct. I guess we don't need to install gateway as it is sharepoint site. It would be great if you help me on this.
Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.
Activity ID: 2a7aa914-b1d4-4027-8744-b3aaae38b008 Request ID: a97ef2fc-75f9-8709-2748-b932ed665dcd Status code: 200 Time: Wed Nov 09 2016 13:47:18 GMT+0530 (India Standard Time) Version: 13.0.1700.581