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
TomBarnard1993
Frequent Visitor

Refresh Errors!

I keep getting the following error when trying to refresh Power BI - 

 

Expression.Error: We cannot apply field access to the type Null.
Details:
Value=
Key=company_name

 

I am querying Sage 200 with their own custom connector. 

 

The refresh will work but I will have to try about 10 times for it to do so. 

 

Full error - Data source error: {"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"We cannot convert the value null to type Table."}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"Expression.Error"}}],"exceptionCulprit":1}}} Table: Customers.

 

I have tried so much here and cannot get to the bottom of the issue. Please help thanks 

4 REPLIES 4
TomBarnard1993
Frequent Visitor

Thanks but why could that be? It seems to work mostly fine in the query editor but as soon as I want to load it into a report it gives me this error? Thanks 

The query editor is usually limited to a subset of rows, 1000 or less. Maybe the full load is overwhelming the source.

Thanks but I dont think so as I have trailed this with smaller queries of no more than 10 rows 

lbendlin
Super User
Super User

The error means that the call to Sage 200 returned no data.

 

Read about try ... otherwise ...

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.

Top Solution Authors