Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jeongkim
Post Partisan
Post Partisan

DataFormat.Error: The input URL is invalid. Please provide a URL to the file path on SharePoint up t

jeongkim_0-1733209887705.png

 

There are 2 folders as above and all files stored in same format and columns. 

I created dataset for Current Weekly Data first and as soon as I duplicate it for Previous Backup Data,

keep getting error and cannot create custom column for tables. 

 

 

Current Weekly Data is getting Custom column for Table well.

jeongkim_6-1733211174816.png

 

 

 

Previous Backup Data case error message: (but it's weirdly random as sometimes it works)

jeongkim_5-1733210563124.png

 

jeongkim_4-1733210441804.png

 

 

 

I run this code for Current Weekly Data

 

jeongkim_1-1733210084683.png

 

 

and duplicate the dataset and rename the folder path for Previous Backup Data.

 

jeongkim_2-1733210121051.png

 

 

1 ACCEPTED SOLUTION
123abc
Community Champion
Community Champion

It sounds like you’re encountering an issue with special characters in file names when using Power BI Power Query. This isn’t exactly a bug, but rather a known limitation. Special characters like # can cause errors because they are often used in URLs and can interfere wit...12.

To avoid this issue, you can try the following solutions:

  1. Rename the File: Remove or replace the # character in the file name.
  2. Use Encoding: Ensure the file path is correctly encoded in your query.
  3. Escape the Character: In some cases, you might need to escape the special character in your query.

If renaming the file isn’t feasible, you might need to adjust your Power Query steps to handle the special character properly. For example, you can use double quotes around the file name or specific encoding settings12.

Would you like more detailed steps on how to implement these solutions?

 

please follow below links .. may is solve your issue:

(1) Solved: Special Character in Column Name - Microsoft Fabric Community

 

Solved: Combine File - Special Character Filename Errors - Microsoft Fabric Community

 

Solved: Importing special characters in a csv file into Po... - Microsoft Fabric Community

 

Solved: I see the special characters in the column values... - Microsoft Fabric Community

 

Solved: Power Query - Replace multiple substrings in one c... - Microsoft Fabric Community

View solution in original post

3 REPLIES 3
jeongkim
Post Partisan
Post Partisan

I found it has error if I put special character in file name when get data. 

 

 

without '#' > no error

jeongkim_0-1733211848525.png

 

 

with '#' > error

jeongkim_1-1733211848526.png

 

Is this bug? 

123abc
Community Champion
Community Champion

It sounds like you’re encountering an issue with special characters in file names when using Power BI Power Query. This isn’t exactly a bug, but rather a known limitation. Special characters like # can cause errors because they are often used in URLs and can interfere wit...12.

To avoid this issue, you can try the following solutions:

  1. Rename the File: Remove or replace the # character in the file name.
  2. Use Encoding: Ensure the file path is correctly encoded in your query.
  3. Escape the Character: In some cases, you might need to escape the special character in your query.

If renaming the file isn’t feasible, you might need to adjust your Power Query steps to handle the special character properly. For example, you can use double quotes around the file name or specific encoding settings12.

Would you like more detailed steps on how to implement these solutions?

 

please follow below links .. may is solve your issue:

(1) Solved: Special Character in Column Name - Microsoft Fabric Community

 

Solved: Combine File - Special Character Filename Errors - Microsoft Fabric Community

 

Solved: Importing special characters in a csv file into Po... - Microsoft Fabric Community

 

Solved: I see the special characters in the column values... - Microsoft Fabric Community

 

Solved: Power Query - Replace multiple substrings in one c... - Microsoft Fabric Community

123abc
Community Champion
Community Champion

PLEASE CAN YOU SAHRE THE PBIX SAMPLE FILE

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.