March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have been using the local version of the folder, but need to change it to the Sharepoint version for online refreshing.
i have a few files that are distint files and that worked fine getting the url and changing from File.Contents to Web.Contents
For example this works fine pointing at a single file
= Excel.Workbook(Web.Contents("https://cxxxxxxxxltd.sharepoint.com/sites/PowerBIReporting/Shared%20Documents/Trinity%20Data/PowerBI%20Employee%20Export.xlsx"), null, true)
I tried to create a new query clicking on new query then Sharepoint folder. If my source is right at the top of the site I can see a list of files BUT right at the bottom is an error
= SharePoint.Files("https://cxxxxxxxltd.sharepoint.com/sites/PowerBIReporting")
DataSource.Error: SharePoint: Request failed: The remote server returned an error: (500) Internal Server Error. (An error occurred while processing this request.)
Details:
DataSourceKind=SharePoint
DataSourcePath=https://cxxxxxxltd.sharepoint.com/sites/PowerBIReporting/_vti_bin/ListData.svc/SolutionGallery
SPRequestGuid=9ffaf09f-xxxxxxxxx
Url=https://cxxxxxxxxltd.sharepoint.com/sites/PowerBIReporting/_vti_bin/ListData.svc/SolutionGallery
This stops me doing anything further with the query as cannot even remove the error rows so any idea what this is and how to fix it?
Ideally shoudln't I be giving it a path further down the tree or do you have to view every file and then filter on the relevant folder afterwards? The rest of the path to actual folder i want is Shared%20Documents/Trinity%20Data/Transaction%20Data%20V3, but that just errors as above.
Really appreicate any advice
Mike
Solved! Go to Solution.
Found the solution to this. You have to add the ApiVerion
....sharepoint.com/sites/PowerBIReporting/",[ApiVersion=15]),
Found the solution to this. You have to add the ApiVerion
....sharepoint.com/sites/PowerBIReporting/",[ApiVersion=15]),
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |