Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CloudMonkey
Post Prodigy
Post Prodigy

lookupvalue linked tables

Hi,

 

Please can you tell me how to do a lookupvalue function that returns a value from another (linked) table? The below test code doesn't work. A workaround is to create a column called "Name" in the transactions table, bring in the product name for each transaction row and then do the LOOKUPVALUE against that column (and not the "products" table), but please can you tell me how to avoid having to do that workaround?

 

=LOOKUPVALUE(products[Name],transactions[ProductID],"12345678")

Thanks,

 

CM

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

Share some sample data and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Zubair_Muhammad
Community Champion
Community Champion

@CloudMonkey

 

Normally the first 2 arguments of LOOKUPVALUE are from the same table

=LOOKUPVALUE(products[Name],transactions[ProductID],"12345678")

 

So may be try this

 

=
LOOKUPVALUE ( products[Name], products[ProductID], "12345678" )

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.