Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I hope you can help me to get this issue resolved.
What the goal is: Load the Excel file (.xlsx) from a SharePoint folder. It seems pretty straightforward thing to do.
I am able to do this like in the steps below:
Now, this works for all files, except the files that have '%' character in the filename.
Why is that?
Basically, this works:
https://company.sharepoint.com/Folder/Folder/Folder/Test file.xlsx
And this doesn't work:
https://company.sharepoint.com/Folder/Folder/Folder/Test file 10%.xlsx
The error i keep getting from PQ "(404): Not Found", but the file works perfectly fine.
Can you please guide me on what i should do next?
Solved! Go to Solution.
Hey all, thanks for your comments.
Unfortunately the Web connector is off the table, as there is no workaround for the special characters issue.
@v-kelly-msft - thanks for the article you posted, but it doesn't apply to my case here. Even with the direct link to the file, i'm unable to connect.
Luckily enough, the only workaround i managed to apply is to use the One Drive synced folder and Folder.Files to get to the desired folder.
I guess that i'll have to make sure everyone syncs their One Drive before the use 🙂
Hey all, thanks for your comments.
Unfortunately the Web connector is off the table, as there is no workaround for the special characters issue.
@v-kelly-msft - thanks for the article you posted, but it doesn't apply to my case here. Even with the direct link to the file, i'm unable to connect.
Luckily enough, the only workaround i managed to apply is to use the One Drive synced folder and Folder.Files to get to the desired folder.
I guess that i'll have to make sure everyone syncs their One Drive before the use 🙂
Hi @MladenJ,
Try to use a try/otherwise statement to handle this issue,see the blog below:
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
If a filename contains certain special characters, it may lead to authentication errors due to the filename being truncated in the URL.
As @mahoneypat suggested, try the SharePoint Folder connector instead of Web.
I would try to use the SharePoint Folder connector instead of Web, and then click on the "Binary" for that file to extract it.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Not everyone has SharePoint folder connector unfortunately, so it needs to go through Web.
Only possible solution i could think of is to go through synced One Drive folder, but then again, not everyone has the folder synced.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.