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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.