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
Anonymous
Not applicable

Check if a value exist in another table

Hi,

i need to check if a value exist in another table that isn't directly relationed.

 

 

Relations:

PLM Parts Last <---->    Req Transaction   <-----------> BOM Header

 

Lookupvalue didn't work

 

image.png

 

 

while this worked:

 

image.png

 

Why? Has lookupvalue some relations limitations?

 

Thanks

5 REPLIES 5
jdbuchanan71
Super User
Super User

It looks like you used a different lookup field between the two. 'PLM Parts Last'[WT Part Number] in the formula, 'PLM Parts Last'[Item Number AX] in the lookup. Does this work for the lookup?

BOMheaderinERP = LOOKUPVALUE ( 'BOM Header'[Item Number]; 'BOM Header'[Item Number]; 'PLM Parts Last'[WT Part Number])
Anonymous
Not applicable

Sorry wrong screen.

 

Value are Item Number and WT Part Number.

 

BOMheaderinERP = LOOKUPVALUE ( 'BOM Header'[Item Number]; 'BOM Header'[Item Number]; 'PLM Parts Last'[WT Part Number])

Didn't work.

 

Only the formula works but i don't understand how it works.

LOOKUPVALUE doesn't need a relationship at all.  Any chance you can share your .pbix?

Anonymous
Not applicable

image.png

lookup works but only if value is in the middle table (Req Transaction), if i manually search a PLM Parts Last value in BOM Header  i will find it.

 

I can't share pbix sorry.

Anonymous
Not applicable

image.png

This works the same. Only value in middle table.

 

I think it is a relations problem..

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.