Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello there,
I am actually struggling with combining of CSV-files from one SP-Fodler to have one resulting table only.
Using the Combine-button on zhe GUI has no effect
Using my OneDrive as the source of the files there is no problem combining the files.
Actually I cannot determine what might cause the error, so I kindly request Tips and Hints on how to solve this.
The M-Code is...
let
Source=Sharepoint.Files(spUrl, [API-Version=15]),
/* Filter to the folder containing only CSV-Files, this list can be seen in PowerQuery(!) */
#"FilteredRows" = Table.SelectRows(Source, each Text.EndsWith([FolderPath], "monthly/"),
/* Combining all CSV-Files from the folder to one table for further transformation in PQ/PBI, results in an error*/
#"Combine Csv" = Binary.Combine(#"FilteredRows"[Content])
in
#"Combine Csv"
Row #"Combine Csv" produces an error:
DataSource.Error: Fehler beim Abrufen von Inhalten von "https://XXXXX.sharepoint.com/sites/....../_api/web/getfilebyserverrelativeurl('/sites/......../FileN..." (404) durch "Web.Contents": Not Found
Details:
DataSourceKind=SharePoint
DataSourcePath=https://XXXXX.sharepoint.com/sites/........................
Url=https://XXXXX.sharepoint.com/sites/...................._api/web/getfilebyserverrelativeurl('/sites/....
I kindly request help on what to check.
Thank you very much in advance
Have a nice 3rd Sunday of Advent.
Thomas
Your 3rd step with Binary.Combine is not correct. Delete that step and click on the double down arrows in the column with the binary content and go through the combine files wizard popup.
Pat
Good Morning ppm1,
thank you for your answer.
I have got this Binary.Combine-Approach because the double-arrow button does NOT open the popup-window. That is why I have chosen this variation (insipred by this video) and asking for hints how to handle the combination properly.
Btw: the M-Code works for combining files out of my OneDrive, but this is bound to my login, not to the service user that we use.
Further ideas appreciated and welcome.
thx
Thomas
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |