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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
cmaloyb
Helper II
Helper II

Hexadecimal Value is an Invalid Character from Folder Source (using excel files)

I have a data source that imports a file folder. This file includes 60 different excel files (with identical table structure). When loading this to Power BI, I am getting the following error:

cmaloyb_0-1654104517166.png

 

When doing research for a solution, I've come across a lot of XML solutions, however I am not using XML (nor am I aware of what XML is). All the data are stored in Excel files. 

 

Any ideas on how to change this hexadecimal value to a valid character? Thanks.

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

One or more Excel files have xml problems. You can remove all files except one and refresh your query. Then add 2nd file and refresh query. This way, you will be able to know which all files have problems.

You will need to open those files in Excel and save again. Saving again will correct xml problems.

Also, whosoever is sending these files to you, ask the person to generate Excel file in a right way with correct xml. This happens when 3rd party tools/codes are used to generated Excel and they don't generate Excel files with correct xml.

View solution in original post

1 REPLY 1
Vijay_A_Verma
Super User
Super User

One or more Excel files have xml problems. You can remove all files except one and refresh your query. Then add 2nd file and refresh query. This way, you will be able to know which all files have problems.

You will need to open those files in Excel and save again. Saving again will correct xml problems.

Also, whosoever is sending these files to you, ask the person to generate Excel file in a right way with correct xml. This happens when 3rd party tools/codes are used to generated Excel and they don't generate Excel files with correct xml.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.