Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Relatively new to Power BI. I need help with some Dax that will match the Item in Table A with the Item in Table B and return the Vendor associated with that text match.
-The first row in Table A should return "Ford"
-The second row in Table A would not have a match and should remain blank
I could not find any help with this issue in the forum. I only saw questions asking for matching confirmations, not returning a value like in another column. Thanks All! You are so helpful.
Table A | |
Item | Vendor |
abc123 | |
abc234 |
Table B | |
Item | Vendor |
abc123 | Ford |
abc555 | Tesla |
abc321 | Toyota |
Solved! Go to Solution.
hi, @Tmk123
try below
hi, @Tmk123
try below
Hey @Tmk123 ,
the DAX function you have to use is LOOKUPVALUE. See here for an explanation of this function https://dax.guide/lookupvalue/
Be aware that LOOKUPVALUE assumes that an item only has one vendor, if an item is provided by more than one vendor an error is raised, but this is also explained in the article.
Hopefully, this helps to tackle your challenge.
Regards,
Tom
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
70 | |
38 | |
28 | |
26 |
User | Count |
---|---|
98 | |
96 | |
59 | |
44 | |
40 |