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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

"Object reference not set to an instance of an object" - getting data from Excel

I continuosly have the same issue with my Desktop Power BI. I get this error message regardless of what type of data I am trying to ingest to Power BI. At times I use data from SharePoint, excel files from my drive, or even desktop. The interesting part is, that if I restart my computer and launch Power BI again, everything starts working. After a couple hours, when I import new data I get the same error. Sometimes I get this error right after starting the application - there's just no telling when it will happen. To clarify: my Power BI, as well as my operating system are both 64 bits and I have the newest version of Power BI Desktop. Any suggestions?

2 REPLIES 2
JulianNoarmenn
New Member

Check if the error message contains the following excerpt: “Microsoft.Mashup.Evaluator.Interface.ErrorException: Specified value has invalid CRLF characters”. If yes, it means there is a corrupted file. I followed these steps and it worked:

Try opening this file in the appropriate software, for example, if it is a spreadsheet, open it in Microsft Excel, and try to save it as a new file and replace the previous one.

Source: https://powerbipoint.com/2024/01/02/power-bi-fix-the-error-object-reference-not-set-to-an-instance-o... 

Anonymous
Not applicable

Hi @Anonymous,

In fact, it is a common exception that appears when you try to access or reference objects. It means you are trying to reference to an Object which is not initialized or initialize failed. (these exceptions can be catch and handle by programming language error but you can't do customize on each connector)

You can take a look at the following document to know more about 'null reference exceptions':

NullReferenceException

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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