Forum Discussion
Power Query missing "from SharePoint folder" option
- Aug 12, 2020
This connector is not available for Business Premium, please check here https://support.microsoft.com/en-us/office/where-is-get-transform-power-query-e9332067-8e49-46fc-97ff-f2e1bfa0cb16
This connector is not available for Business Premium, please check here https://support.microsoft.com/en-us/office/where-is-get-transform-power-query-e9332067-8e49-46fc-97ff-f2e1bfa0cb16
- keniryJan 09, 2023Copper Contributor
SergeiBaklan thanks but whats the solution
- SergeiBaklanJan 09, 2023Diamond Contributor
IMHO, solution is to have proper subscription which support functionality you need.
- keniryJan 11, 2023Copper Contributor
SergeiBaklan thanks again but
The answer seems to be in today's MS product description gibberish;
- Microsoft 365 Apps for Enterprise - this worked for me or
- Office 2019 Professional Plus Standalone - don't know
Either way microsoft need to take a little more care to make products less annoying to use, like making this a greyed out feature on versions it's not available on.
Perhaps its kept a secret because after hours wasted on finding this (with your help) and then trying to use it I find the feature is worthless since it is unreliable returning stale folder names.
...given its one of the most promising things MS have done in years why dont they just fix these many annoyances - we can only wonder.
- Timo1950May 20, 2021Copper ContributorHello Sergei. What about Office 2013? How I can create SharePoint folder connection with Excel? Thank you!
- SergeiBaklanMay 21, 2021Diamond Contributor
- SergeiBaklanMay 21, 2021Diamond Contributor
You may try to install Power Query from here Download Microsoft Power Query for Excel from Official Microsoft Download Center but for SharePoint connector you have to have Pro version of Office.
Please note
- LorenzoMay 21, 2021Silver Contributor
Once you have the Power Query Add-in installed...
Create a new blank (Power) query > Advanced Editor > Select all > Paste this code:
(gives you a table of all PQ M functions available in the used product - the PQ Add-in in your case)let // #shared library excluding this workbook's Queries & custom functions Source = Record.ToTable( Record.RemoveFields(#shared, Record.FieldNames(#sections[Section1]) ) ), SelectedTypeFunction = Table.SelectRows(Source, each [Value] is function), RemovedValue = Table.SelectColumns(SelectedTypeFunction, {"Name"}), SortedByName = Table.Sort(RemovedValue, {{"Name", Order.Ascending}}), RenamedColumn = Table.RenameColumns(SortedByName, {{"Name", "Function name"}} ) in RenamedColumn
Check the list but top of my head functions https://docs.microsoft.com/en-us/powerquery-m/sharepoint-contents, https://docs.microsoft.com/en-us/powerquery-m/sharepoint-files & https://docs.microsoft.com/en-us/powerquery-m/sharepoint-tables should be there. AFAIK there's no restriction to access a Sharepoint site as long as you have the appropriate credentials, in which case:
- Create a blank query
- In the PQ Editor formula bar enter:
=SharePoint.Files("<TheRootAddressOfTheSharepointSite>", [ApiVersion=xx])
(for xx, check the function doc.)
- Validate (you'll be asked for your Credentials) and you should get what you need
See i.e. https://www.poweredsolutions.co/2019/04/04/connecting-to-files-in-sharepoint-onedrive-with-power-bi-power-query/ that discusses the diff. between SharePoint.Files & SharePoint.Contents
- MichaelYeAug 12, 2020Copper ContributorThank you Sergei