Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
55 | |
37 | |
31 |
User | Count |
---|---|
89 | |
62 | |
61 | |
49 | |
45 |