Cheat Sheets/Power BI/LOOKUPVALUE
DAX function

LOOKUPVALUE — DAX function reference

Look up a value with no relationship.

Syntax

dax
LOOKUPVALUE(<result_columnName>, <search_columnName1>, <search_value1> [, <search_columnName2>, <search_value2>, …], [<alternateResult>])

Examples

dax
LOOKUPVALUE(Rate[USD], Rate[Date], Sales[Date])
→ A value
dax
LOOKUPVALUE(Rate[USD], Rate[CurrencyCode], Sales[CurrencyCode], Rate[Date], Sales[Date], 1)
→ Multi-column lookup — matches on both currency and date, defaulting to 1 if not found
dax
LOOKUPVALUE(Employee[ManagerName], Employee[EmployeeID], Sales[SalesRepID])
→ Pulls a value with no physical relationship between Sales and Employee

Common mistakes & gotchas

Related DAX functions

From Relationships

← Back to the Power BI (DAX) cheat sheet