Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello Community,
I wanted to pull data from Excel sheets from a specific Sharepoint folder. Trying to do this I discovered the following behaviour: If a path- or filename in Sharepoint includes a # sign at any position, Power Query will return the following error message to me:
DataFormat.Error: The input URL is invalid. Please provide a URL to the file path on SharePoint up to the file name only (with no query or fragment part).
To double check my assumption I loaded all files from our Sharepoint site, filtered for Extension ".xlsx" and a value in Content that evaluates to an error. For all of these Elements the formula
Text.Contains([Name], "#") or Text.Contains([Folder Path], "#")
did evaluate as TRUE.
This does not happen if the file/folder does not include a #. Since the folder in question cannot easily be renamed I'd like to know if anyone knows a workaround for this behaviour without renaming folders.
Solved! Go to Solution.
Hi Felix,
Unfortunately it looks like this is a limitation: https://learn.microsoft.com/en-us/power-query/connectors/sharepointfolder#filename-special-character...
Best regards,
Tim
Proud to be a Super User!
Hi Felix,
Unfortunately it looks like this is a limitation: https://learn.microsoft.com/en-us/power-query/connectors/sharepointfolder#filename-special-character...
Best regards,
Tim
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 6 | |
| 5 | |
| 3 |