# FIRSTNONBLANK

Returns the first value in the column, **column**, filtered by the current context, where the expression is not blank.

## Syntax

```
FIRSTNONBLANK(<column>,<expression>)
```

### Parameters

Term | Definition |
---|---|

column | A column expression. |

expression | An expression evaluated for blanks for each value of column. |

## Property Value/Return value

A table containing a single column and single row with the computed first value.

## Remarks

The **column** argument can be any of the following:

A reference to any column.

A table with a single column.

A Boolean expression that defines a single-column table .

Note

Constraints on Boolean expressions are described in the topic, CALCULATE function (DAX).

This function is typically used to return the first value of a column for which the expression is not blank. For example, you could get the last value for which there were sales of a product.

This DAX function is not supported for use in DirectQuery mode. For more information about limitations in DirectQuery models, see https://go.microsoft.com/fwlink/?LinkId=219172.

## See also

LASTNONBLANK function (DAX)

Statistical functions (DAX)

DAX function reference