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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.