New: free Power BI model health check. Find what's making your numbers wrong and your model slow. Check your model →
Practical Power BI Fixes

The Blog

Real errors, real causes, real fixes — plus cheat sheets that don't fit the reference docs.

RSS feed
37
Posts
9
Topics
2026
Since
Latest
ErrorExpression.Error: The key didn't match any rows in the table.

Power Query Error: The Key Didn't Match Any Rows in the Table

Refresh fails with Expression.Error: The key didn't match any rows in the table. A navigation step is looking for a sheet, table, or file by name, and it isn't there anymore. Here's how to see what is there, the five usual causes, and how to write the step so it doesn't break again.

Power QueryTroubleshooting
SymptomEvery row in the table is right. The total underneath isn't the sum of them, and nobody can explain the number.

Power BI Totals Don't Add Up: Why the Total Row Is Wrong (and How to Fix It)

The rows in a table or matrix are right, but the total isn't their sum: it's blank, too big, or too small. The total row doesn't add the rows up; it calculates the measure again for everything. Here's when that goes wrong, when it's actually right, and the SUMX fix.

DAXTroubleshooting
ErrorExpression.Error: We cannot apply operator & to types Text and Number.

Power Query Error: We Cannot Apply Operator & to Types Text and Number

Power Query never converts types for you: & only joins text, and + only adds numbers. This error means one side of the operator was the wrong type. Here are the five usual causes, from building an ID column to a number column that's secretly text.

Power QueryTroubleshooting
ErrorExpression.Error: We cannot convert a value of type List to type Text.

Power Query Error: We Cannot Convert a Value of Type List to Type Text

A cell holds a list, record, or table, and something tried to treat it as a single piece of text. It usually comes from JSON, Group By, or a function that returns more than one value. Here are the five usual causes and how to turn each nested value into text.

Power QueryTroubleshooting
ErrorThis dataset includes a dynamic data source. Since dynamic data sources aren't refreshed in the Power BI service, this dataset won't be refreshed.

Power BI: This Dataset Includes a Dynamic Data Source and Won't Be Refreshed

The Power BI Service refuses to schedule refresh because a query builds its data source address from data: a URL, a server name, or a file path. Here's why the Service can't refresh that, how to find the query, and the fix for each of the five usual patterns.

Power BI ServicePower QueryTroubleshooting
ErrorDataFormat.Error: Invalid cell value '#N/A'.

DataFormat.Error: Invalid Cell Value '#N/A' in Power Query

An Excel source has formula errors in it (#N/A, #DIV/0!, #REF!, #VALUE!), and Power Query brings each one in as an error cell. Sometimes that just blanks a few values on load; sometimes it fails the whole refresh. Here's which, why, and the four ways to handle it.

Power QueryTroubleshooting
SymptomThe report still shows last week's numbers, and the scheduled refresh toggle is off. Nobody turned it off.

Why Power BI Turned Off Your Scheduled Refresh (and How to Keep It On)

The report shows last week's numbers and the refresh schedule toggle is off, though nobody switched it off. Power BI disables schedules on its own after repeated failures and after a semantic model goes unused. Here's how to tell which happened, and how to stop it happening again.

Power BI ServiceTroubleshooting
ErrorWe can't sort the 'Month' column by 'YearMonth'. There can't be more than one value in 'YearMonth' for the same value in 'Month'.

Power BI Sort by Column Error: There Can't Be More Than One Value

You set Month Name to sort by another column and Power BI refuses: there can't be more than one value in the sort column for the same value. The rule is strict, one sort key per label, and the fix is usually choosing the right key or making the label unique. Here are the four usual causes and a query that finds the offending rows.

Data ModelingTroubleshooting
ErrorUnable to connect to the data source. The gateway is either offline or could not be reached.

Power BI Refresh Error: The Gateway Is Either Offline or Could Not Be Reached

Scheduled refresh fails because the Power BI Service can't talk to your on-premises data gateway. The fix is almost never in the report. Here are the five usual causes, from a sleeping machine to a blocked port, and how to tell which one you have.

Power BI ServiceTroubleshooting
ErrorYour data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.

Power BI Refresh Error: The Credentials Provided for the Data Source Are Invalid

The report refreshes fine in Desktop, then scheduled refresh in the Service fails with invalid credentials. The Service keeps its own copy of the sign-in, separate from yours. Here are the five usual causes, from an expired OAuth token to a gateway connection nobody updated.

Power BI ServiceTroubleshooting
ErrorExpressions that yield variant data-type cannot be used to define calculated columns.

DAX Error: Expressions That Yield Variant Data-Type Cannot Be Used to Define Calculated Columns

This error means your calculated column can return a number on some rows and text (or a date) on others. A column needs one data type, so DAX refuses it. Here are the five usual culprits, from an "N/A" fallback to a LOOKUPVALUE default, and how to fix each one.

DAXTroubleshooting
ErrorThe syntax for ')' is incorrect. (DAX(SUM(Sales[Amount],))).

DAX Error: The Syntax for '...' Is Incorrect

This error means the DAX parser hit a character it didn't expect, before it ever looked at your data. The quoted token tells you where it gave up. Here are the six usual causes: commas, parentheses, separators, quotes, names, and VAR without RETURN.

DAXTroubleshooting
ShortcutsCtrl + / comment line · Ctrl + D next match · Alt + ↑ / ↓ move line

Power BI Desktop Keyboard Shortcuts Cheat Sheet

A fast, scannable reference for the Power BI Desktop shortcuts worth memorizing — DAX formula bar editing, report canvas selection, and table navigation.

Power BI DesktopCheat Sheet
ErrorVisual has exceeded the available resources.

Power BI Error: Visual Has Exceeded the Available Resources

"Visual has exceeded the available resources" means a visual's query hit a hard time or memory cap in Power BI Service (and now Desktop too). Here's why the limit exists, and the fixes that actually hold up once the report is published.

Power BI ServicePerformanceTroubleshooting
ErrorYou can't create a direct active relationship between Sales and Region because an active set of indirect relationships already exists between these tables.

Power BI Error: You Can't Create a Direct Active Relationship Between These Tables

Power BI refuses an active relationship because the two tables are already connected through other tables, so a second route would make filters ambiguous. Here's how to find the existing path, and the fixes: an inactive relationship with USERELATIONSHIP, single-direction filters, or a separate dimension.

Data ModelingTroubleshooting
DAXCPI = DIVIDE([EV], [AC]) · SPI = DIVIDE([EV], [PV])

Systems & Program Engineering DAX Patterns Cheat Sheet

A fast, scannable reference for the DAX patterns systems and program engineers actually need in Power BI: EVM (CPI/SPI/EAC) and Earned Schedule (SPI(t), forecast finish), risk scoring, FMEA/RPN, requirements coverage, reliability metrics (MTBF/MTTR, Weibull B10), SPC control charts (limits, run rules, Cpk), and Pareto analysis (cumulative %, vital few).

DAXCheat SheetData Modeling
DAXIF(ISERROR(SEARCH("SKU-", [ProductCode])), "No", "Yes")

DAX Text Functions Cheat Sheet

A fast, scannable reference for the DAX text functions you'll actually reach for — substrings, case and whitespace, combining values, replacing text, and formatting numbers as strings.

DAXCheat Sheet
ErrorA function 'PLACEHOLDER' has been used in a True/False expression that is used as a table filter expression. This is not allowed.

DAX Error: A Function 'CALCULATE' (or 'PLACEHOLDER') Has Been Used in a True/False Expression

This error means a measure, or CALCULATE itself, was used inside one of CALCULATE's filter conditions. A condition like [Total Sales] > 200 can't be a simple filter argument. Here's why, and the two fixes: an explicit FILTER, or a variable.

DAXTroubleshooting
ErrorA table of multiple values was supplied where a single value was expected.

DAX Error: A Table of Multiple Values Was Supplied Where a Single Value Was Expected

This error means a table-returning expression — VALUES(), FILTER(), RELATEDTABLE() — ended up somewhere DAX needed a scalar, and had more than one row to give it. Here's why it depends on filter context, and how to fix it.

DAXTroubleshooting
ErrorExpression.Error: We cannot convert the value null to type Table.

Power Query Error: We Cannot Convert the Value Null to Type Table

A step that needs a table was handed null instead. Power Query doesn't produce that null on its own: filters and merges return empty tables, not null. It almost always comes from a fallback or a custom function that returns null. Here's how to find it and what to return instead.

Power QueryTroubleshooting
ErrorExpression.Error: There were too many elements in the enumeration to complete the operation.

Power Query Error: There Were Too Many Elements in the Enumeration to Complete the Operation

This cryptic error almost always comes from Table.Pivot hitting duplicate row/column combinations with no aggregation function to combine them. Here's what it actually means, and the fix.

Power QueryTroubleshooting
ErrorDAX comparison operations do not support comparing values of type Text with values of type Boolean.

DAX Error: Comparison Operations Do Not Support Comparing Values of Type Text With Values of Type Boolean

This DAX error means a comparison mixed two different data types on either side of an operator. The most common trigger is an Excel-style habit that doesn't translate to DAX. Here's why, and the fix.

DAXTroubleshooting
ErrorThere isn't enough memory to complete this operation. Please close some applications and try again.

Power BI Error: There Isn't Enough Memory to Complete This Operation

This memory error almost always means too much raw, unaggregated data is being pulled into Power BI Desktop at once. Here's how to find what's actually consuming the memory, and the fixes for each cause.

Power QueryTroubleshooting
ErrorDataSource.Error: ODBC: ERROR [HYT00] [Microsoft][ODBC Driver Manager] Timeout expired.

Power BI Error: OLE DB or ODBC Error

"OLE DB or ODBC error" is a wrapper around several unrelated causes — a login failure, a missing driver, a timeout, or a gateway credential mismatch. Here's how to tell which from the details, and the fix for each.

Power QueryTroubleshooting
SymptomDesktop, View as Roles: filtered correctly. Service, same report, real user: sees all the data.

Row-Level Security Works in Desktop But Not in the Power BI Service

RLS filters correctly when testing with "View as Roles" in Desktop, then after publishing a user sees all the data, or none of it. Here's which causes produce which symptom, and how to test RLS properly in the Service.

Power BI ServiceGovernanceTroubleshooting
SymptomThis dataset includes a dynamic data source. Since dynamic data sources aren't refreshed in the Power BI service, this dataset won't be refreshed.

Power BI Web.Contents With a Dynamic URL Won't Refresh: Use RelativePath and Query

An API query built with Web.Contents refreshes in Desktop, but the Service says the dataset includes a dynamic data source and turns off scheduled refresh. The URL is being built at runtime. Keep the base URL fixed and move the changing parts into RelativePath and Query.

Power QueryTroubleshooting
DAXFUNCTION AddTax = ( amount : NUMERIC, taxRate : NUMERIC = 0.1 ) => amount * ( 1 + taxRate )

DAX User-Defined Functions Are Here — What You Need to Know

DAX user-defined functions reached general availability with the June 2026 release. Here's what changed, the FUNCTION syntax in plain terms, and when they're actually worth using over a measure.

DAXCheat Sheet
SymptomLast week: refresh in 8 seconds. This week: refresh in 6 minutes.

Why Did My Power Query Refresh Suddenly Get Slower?

A refresh that used to take seconds and now takes minutes, with no error and no obvious cause, almost always means query folding silently broke somewhere. Here's how to find exactly which step, and the four usual causes.

Power QueryTroubleshooting
ErrorDataFormat.Error: We couldn't convert to Number.

Power Query Error: We Couldn't Convert to Number (or Date)

"DataFormat.Error: We couldn't convert to Number" (or Date) usually isn't bad data — it's a locale mismatch, hidden whitespace, or a stray non-numeric value. Here's how to find which, and the fix for each.

Power QueryTroubleshooting
ErrorFormula.Firewall: Query 'Orders' (step 'Added Custom') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.

Power Query Error: Formula.Firewall (Rebuild This Data Combination)

Formula.Firewall comes in two versions. "References other queries or steps, so it may not directly access a data source" is about how the query is structured; "privacy levels which cannot be used together" is about privacy levels. Here's how to tell them apart and fix each one properly.

Power QueryTroubleshooting
DAXCALCULATE([Total Sales], ALLEXCEPT(DimProduct, DimProduct[Category]))

DAX CALCULATE Modifiers Cheat Sheet

A fast, scannable reference for the filter-modifying functions used inside CALCULATE — ALL, ALLEXCEPT, ALLSELECTED, REMOVEFILTERS, KEEPFILTERS, and USERELATIONSHIP.

DAXCheat Sheet
ErrorCouldn't load the data for this visual

Power BI Error: Couldn't Load the Data for This Visual

"Couldn't load the data for this visual" is a generic banner covering several unrelated causes. Here's how to read the real error underneath it, and the four usual culprits.

Power BI ServiceTroubleshooting
ErrorA single value for column 'SalesAmount' in table 'FactSales' cannot be determined.

Power BI Error: A Single Value for Column Cannot Be Determined

This error means a measure referenced a column directly instead of aggregating it. Here's why it often works at the row level and breaks at the total, and how to fix it.

DAXTroubleshooting
ErrorThe column 'ProductKey' in table 'DimProduct' contains a duplicate value '1001', and this is not allowed for columns on the "one" side of a many-to-one relationship.

Power BI Error: Column Contains a Duplicate Value

"The column 'X' in table 'Y' contains a duplicate value" happens when you try to build a relationship on a column that isn't actually unique. Here's how to find and fix the duplicates.

Data ModelingPower QueryTroubleshooting
DAXCALCULATE([Total Sales], SAMEPERIODLASTYEAR(DimDate[Date]))

DAX Time Intelligence Cheat Sheet

A fast, scannable reference for the DAX time intelligence functions you'll actually reach for — YTD, prior period, and period-over-period comparisons.

DAXCheat Sheet
ErrorA circular dependency was detected: Table[ColumnA], Table[ColumnB], Table[ColumnA].

How to Fix a Circular Dependency Error in DAX

"A circular dependency was detected" comes from calculated columns and tables, not measures: columns that reference each other, two columns that both use CALCULATE, or a calculated table built with VALUES and related back to its source. Here's how to find the cycle and break it.

DAXTroubleshooting
ErrorExpression.Error: The field 'CustomerID' of the record wasn't found.

Power Query Error: Expression.Error - The Field Wasn't Found

This error means a step is referencing a column name that doesn't exist by the time it runs. Here's how to find which step, and the four usual causes.

Power QueryTroubleshooting