SELECTEDVALUE is a DAX function that returns the value when there is only one distinct value in a specified column; otherwise, it returns an alternate result.
Syntax
SELECTEDVALUE(
ColumnName,
AlternateResult
)
Argument | Properties | Description |
---|---|---|
ColumnName | The column from which a single value is to be returned. | |
AlternateResult | Optional | The value that is returned when there is no value or more than one value in the specified column; if omitted, BLANK is returned. |