Forum Discussion
Getting transient Null Exception when refreshing a data source
OLE DB or ODBC error: [Expression.Error] We cannot apply field access to the type Null.
3 Replies
- vojtechsimaSuper 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.
- RezaAssadiMicrosoft Employee
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.
- RezaAssadiMicrosoft 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.