DAX | Lookup Value from Rows in Unrelated Tables

PHOTO EMBED

Fri Dec 08 2023 09:49:57 GMT+0000 (Coordinated Universal Time)

Saved by @nikahafiz #ms.pbi #dax #dax.lookupvalue

LOOKUPVALUE(
    Products[UnitPrice],
    PRODUCTS[ProductID], ORDER_DETAILS[ProductID]
        )
content_copyCOPY

Lookup the related Product_Cost using LOOKUPVALUE, matching on the ProductID column in both tables.