Forum Discussion
davidmaddock54
Oct 27, 2021Brass Contributor
Power Query/Sharepoint
Hello all, It appears I'm heading down familiar territory, but my question doesn't seem to have been specifically answered. I notice this thread, amongst others. I shall be looking at th...
- Oct 28, 2021
You may use From SharePoint Folder connector
using for the connection root site URL and filtering after that on desired folder. But that will be new project, From Folder connector is not mapped on SharePoint folder. At least directly.
SergeiBaklan
Oct 28, 2021MVP
You may use From SharePoint Folder connector
using for the connection root site URL and filtering after that on desired folder. But that will be new project, From Folder connector is not mapped on SharePoint folder. At least directly.
- davidmaddock54Oct 28, 2021Brass ContributorThanks. Yeah, that's the next step I can't work out. As you say, sharepoint folder only links to root site. Can you point me to a How to guide on that next step? Is it a matter of settings in sharepoint, user permissions, or a specific bit of coding?
- SergeiBaklanOct 29, 2021MVP
Connecting to root one of the columns will be Folder path - filter on on folder you work with.
After filtering, expand content. Rest is similar as with From Folder connector.
- davidmaddock54Nov 01, 2021Brass ContributorOk, got it up and running. Thank you. This solves one of the issues, but gets away from one of the main positives my original method had.
Using the regular folder method means the query works regardless of the file name. So as long as the report/columns match, and there's only one file in folder, the report will work as intended. (And if it's wrong, the errors are obvious, and you just put the right report in the folder and refresh.)
This method relies on the file name remaining identical. Not a deal breaker, but mildly annoying.
(Trying to find a solution for a lot of users with different capabilities to follow.)