Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
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 documented.
The solution is generally to connect to the site and then filter.
However this does not work for me. It times out or, if I manage to apply a filter to one column (say look for files modified in the last month) then I do not see the file that I want (although I know it is there). This is really frustrating me.
Has anyone managed to do this?
Solved! Go to Solution.
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
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The easiest way to do this that I know of is just to change the M Code from SharePoint.Files to SharePoint.Contents:
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
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
That's great @mahoneypat . Long code but it only needs pasting 😀 Hopefully MS will build a connector based upon this! I actually managed to get mine working using the standard connector and some lateral thinking but it wasn't easy.
What the actual hell, why cant we just navigate to the file? is that too much to ask?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 6 | |
| 5 |