LOOKUPVALUE Function (DAX)
SQL Server 2012
Returns the value in result_columnName for the row that meets all criteria specified by search_columnName and search_value.
The value of result_column at the row where all pairs of search_column and search_value have a match.
If there is no match that satisfies all the search values, a BLANK is returned. In other words, the function will not return a lookup value if only some of the criteria match.
If multiple rows match the search values and in all cases result_column values are identical then that value is returned. However, if result_column returns different values an error is returned.
