MetricSign
Get started free
High severitydata source

Power BI Refresh Error:
DM_ErrorCode_BackEnd_QueryExecutionFailed

What does this error mean?

The Analysis Services engine (the backend that processes your data model) failed while executing a query against the data source. This error wraps backend execution failures that occur after the gateway has successfully retrieved the data.

Common causes

  • 1A measure or calculated column uses a DAX function that references a column that no longer exists
  • 2Row-level security expressions contain syntax errors or reference invalid tables
  • 3A relationship in the data model references columns with incompatible data types
  • 4The data source returned values that cannot be cast to the column's defined type
  • 5A partition query failed because the underlying source schema changed

How to fix it

  1. 1Open the dataset in Power BI Desktop and attempt a manual refresh — the error trace in Desktop is usually more detailed
  2. 2Check for broken DAX measures using the 'Performance Analyzer' or by inspecting the Error list in the model view
  3. 3Verify all relationships point to columns that still exist and have compatible types
  4. 4Review any calculated columns or RLS expressions for references to removed columns
  5. 5If using partitions (Premium), check each partition's source query in Tabular Editor or SSAS Management Studio

Other data source errors