SELECTEDVALUE DAX Function

The SELECTEDVALUE function returns the value when the context for columnName has been filtered down to one distinct value only, otherwise returns an optional alternateResult if specified.

DAX Syntax SELECTEDVALUE(ColumnName)
Or
SELECTEDVALUE(ColumnName, AlternateResult)

The function has the following parameters: