Forum Discussion
Anonymous
3 years agoNot applicable
Lookup value with multiple condition
Hi all,
How can I lookup "Unit Cost" value in Table B into Table A? FYI, all the 3 column have duplicate value.
Already try advanced merge in power query but not possible.
Regards,
Nuha
3 Replies
- DOLEARY85Resident Rockstar
Hi,
try something like:
Measure = LOOKUPVALUE('Table B'[Unit Cost],'Table A'[Process Code],SELECTEDVALUE('Table B'[Process Code]),'Table A'[Item Name],SELECTEDVALUE('Table B'[Item Name]),'Table A'[Category],SELECTEDVALUE('Table B'[Category]))If I answered your question, please mark my post as solution, Appreciate your Kudos 👍- AnonymousNot applicable
- DOLEARY85Resident Rockstar
Sorry if the other table is outside of the table with the value you are looking up use selectedvalue() around it - looks like i put table A & B in the wrong order after the intial field.