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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
ktt777
Helper V
Helper V

Errors when loading data

Hi 

 

I received multiple errors when i want to load data into my power bi :

 

OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E

OLE DB or ODBC error : [DataFormat.Error] Invalid cell value '#REF!',,

Object refererence not set to an instance of an object 

 

I try to replace #REF! with blank , but it does not work

 

Do you have any idea how to sove ?

 

Thanks 

 

 

10 REPLIES 10
amitchandak
Super User
Super User

@ktt777 , Open Data Transformation. Do you see a detailed error? Else check for any column that is showing error. Change its data type to text and see if it works.

Or Look at the source for error in data type like date, the number no getting the required values or getting empty space or special character. Find and correct those.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
parry2k
Super User
Super User

@ktt777 what is your data source? Is it excel?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@ktt777 pretty much the same solution that I posted a few years ago at this post.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

i tried to replace #N/A and #REF! by null but it does not work 

@ktt777 try to do this replace step before change type step.

 

or you can also do replace errors on the column.

 

image.png



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

thank you. But it did not work for me 😞

REF.PNG

does it work if i replace values like above ?

 

I tried to do some test, sometimes power bi will load data, #NA and #REF! will automatically replaced by null.

 

why in this case, the data can not be loaded ?

thanks

Anonymous
Not applicable

HI @ktt777,

I guess this may be related to your connector and corresponding data driver, what type of data connector and which version of the data provider and driver are you test?

How to Get Your Question Answered Quickly 

In addition, any modification applies to your data source? As the following document mentioned, #ref issue normally appears if a reference error occurred. I'd like to suggest you double-check your source data to prevent this issue.

What are #REF Excel Errors? 
Regards,

Xiaoxin Sheng

@ktt777 can you share an excel file that you are getting error for loading and I will take a look. Remove sensitive information before sharing.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Yes, it is excel

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors