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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Atinder
Helper III
Helper III

Need to lookup value from another table if they not same give me not matching

Hello,

I am trying to lookup a valume from another table. In this case I want to Lookup Sales UOM from Item card table into Bin Content  table. If we they are not matching give me " Wrong UOM". 

 

I am trying to find how many Bins  I have with Wrong Unit of measure beacuse If i only sell them into MASTERCASE. I should not have any PCS on hand in the warehouse. 

 

 

Atinder_0-1706555948828.png

Atinder_1-1706555959234.png

 

Thank you

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Atinder 

create relationship between two tables and try to crreate a column

Column = if(RELATED('Table (2)'[Sales UOM])='Table'[UOM],'Table'[UOM],"Wrong UOM")
11.PNG
 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
ryan_mayu
Super User
Super User

@Atinder 

create relationship between two tables and try to crreate a column

Column = if(RELATED('Table (2)'[Sales UOM])='Table'[UOM],'Table'[UOM],"Wrong UOM")
11.PNG
 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors