New: free Power BI model health check. Find what's making your numbers wrong and your model slow. Check your model →
← Back to Blog

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

The full error usually reads:

A single value for column 'SalesAmount' in table 'FactSales' cannot
be determined. This can happen when a measure formula refers to a
column that contains many values without specifying an aggregation
such as min, max, first, or sum to get a single result.

It means exactly what it says: somewhere in a measure, a column is being used directly — not wrapped in SUM, AVERAGE, MIN, MAX, or another aggregator — and DAX was asked to collapse many row values into one, with no instruction for how to do that.

The Simplest Case

Bad Measure =
FactSales[SalesAmount] * 1.1

This references FactSales[SalesAmount] directly. A measure has no row context of its own — there's no "current row" to pull a single value from — so DAX has no way to turn a column of thousands of values into the one number a measure needs to return.

Fix: aggregate the column first.

Good Measure =
SUM(FactSales[SalesAmount]) * 1.1

It Doesn't Matter How Many Rows Are Filtered

A common belief is that this kind of measure works on detail rows and only breaks on a total. It doesn't work anywhere:

Unit Price =
FactSales[SalesAmount] / FactSales[Quantity]

Even in a table where a row's filter leaves exactly one sale, this fails. DAX doesn't look at how many rows are in the filter context and pick the only one. A bare column reference needs a row context, a current row that an iterator or a calculated column provides, and a measure doesn't have one.

(A measure that does work on every row and then shows a wrong or blank total is a different problem, usually SELECTEDVALUE or an IF that only makes sense per row. See Power BI totals don't add up.)

Fix: aggregate both sides explicitly, and use DIVIDE() instead of / so a zero quantity returns blank instead of infinity.

Unit Price =
DIVIDE(
    SUM(FactSales[SalesAmount]),
    SUM(FactSales[Quantity])
)

Referencing a Column Instead of a Measure

A common copy-paste mistake: meaning to reference an existing measure, but referencing the underlying column instead.

-- Existing measure
Total Sales =
SUM(FactSales[SalesAmount])
-- Meant to reference [Total Sales], typed the column name instead
Sales Rounded =
ROUND(FactSales[SalesAmount], 0)

[Total Sales] (square brackets, no table name) refers to the measure. FactSales[SalesAmount] refers to the raw column. They look similar enough in a hurry that this is easy to type without noticing.

Fix: reference the measure.

Sales Rounded =
ROUND([Total Sales], 0)

Why This Doesn't Happen in Calculated Columns

The identical expression works without error as a calculated column:

Unit Price =
FactSales[SalesAmount] / FactSales[Quantity]

A calculated column has an implicit row context — it's evaluated once per row, and inside that context FactSales[SalesAmount] genuinely does mean "the value in this row." A measure has no such context by default; it starts out evaluating across whatever set of rows the current filter context includes, which is why a bare column reference is ambiguous there in a way it isn't in a calculated column. See Calculated Columns and Measures for how the two evaluate differently.

How to Actually Find It

The error names the column, but in a longer measure it helps to check systematically:

  1. Open the measure and find every place a table/column reference (Table[Column]) appears, as opposed to a measure reference ([MeasureName]).
  2. For each one, check whether it's already inside an aggregator (SUM, AVERAGE, MIN, MAX, COUNT) or a function that resolves it another way (SELECTEDVALUE, iterator row context).
  3. Any bare column reference outside one of those is the likely cause.

Common Mistakes

Expecting a row-by-row calculation from a measure. If the logic is "for each sale, divide amount by quantity, then add up", that's an iterator: SUMX ( FactSales, FactSales[SalesAmount] / FactSales[Quantity] ). Inside SUMX, the bare column references are fine because there's a current row.

Reaching for SELECTEDVALUE as a blanket fix. SELECTEDVALUE() resolves this specific error by returning a fallback when multiple values are present, but it's meant for genuinely single-value scenarios (a slicer selection, a title). Using it to silence this error on a column that should be summed just replaces a clear error with a wrong number. See SELECTEDVALUE for where it actually belongs.

Not noticing the column-vs-measure typo. Because Table[Column] and [Measure] are visually similar, this mistake tends to survive a quick read-through — worth a second look specifically for it when the error names a column that has a same-named measure built on top of it.

Next Steps

Getting "a table of multiple values was supplied where a single value was expected" instead? That's a related but distinct error — a table-returning function like VALUES() or FILTER(), not a bare column. See that error explained.

FAQ

+Why does "a single value for column cannot be determined" happen in DAX?

A measure referenced a column directly instead of wrapping it in an aggregator like SUM, and DAX has no way to collapse many row values into the one number a measure must return.

+Why does the same formula work as a calculated column but not a measure?

A calculated column has an implicit row context, so a bare column reference means "this row's value." A measure has no such context by default, so the same reference is ambiguous.

+Does SELECTEDVALUE fix this error?

It can silence it, but only use it where a single value is genuinely expected, like a slicer selection or a title — using it to force a column that should be summed just replaces a clear error with a wrong number.