Forum Discussion
Ian_Stuart_Rupe
4 years agoAdvocate III
Getting a single file from a large SharePoint site
I have read some long threads on this topic and tried many times myself to get a single file from a huge SharePoint site. Using the address to the file results in an error and this is well docum...
- 4 years ago
Please see this article and try using SharePoint.Contents instead. Imke also provided a function to get a single file faster too.
Improve File Import from SharePoint in Power BI and Power Query – (thebiccountant.com)
Pat
Ian_Stuart_Rupe
1 year agoAdvocate III
The easiest way to do this that I know of is just to change the M Code from SharePoint.Files to SharePoint.Contents: