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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
RezaAssadi
Microsoft Employee
Microsoft Employee

Getting transient Null Exception when refreshing a data source

I keep getting the error below when I do a full refresh on my Power BI report. However, refreshing the data source individually works without any issue. 

OLE DB or ODBC error: [Expression.Error] We cannot apply field access to the type Null.
How come the refresh only fails when I refresh all data sources across the report? And how can I see what the offending column is?
3 REPLIES 3
RezaAssadi
Microsoft Employee
Microsoft Employee

I was ultimately unable to figure out the root cause of the issue and ended up rewriting a bunch of queries to make this work. The fact that PowerBI fails due to a null exception but never tells you what that null exception is feels really broken. 

vojtechsima
Super User
Super User

@RezaAssadi hello,

do you have some dependency on some tables, or are you waiting for some query to finish before you get values for another one, that's the only thing I can think of.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

I do have different references between different tables. However, that used to work just fine before and I am not entirely sure why it would only break if I refresh all Data Sources at once (and not when I just refresh this one data source). What's more challenging is that there are no error logs telling me which column has a null reference and where that null reference is. I verified the underlying query and confirmed none of the columns are null.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.