cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Route217 Member
Member

Lookup value from another table

Hi Experts

 

Not sure whats the best route tp tackle this, either via a lookup or related or related table function. I have two tables.

Table A Columns

Country_NM

Country_ISO_CD

 

Table B Columns

Country_Origin_ISO_CD

Country_Origin_NM

I want to lookup/Match from Table B Country_Origin_ISO_CD with column Country_NM in Table A and what the result is in Column Country_ISO_CD in Table A return that into a new column in Table B Country_Origin_NM.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Lookup value from another table

@Route217 ,

 

You can create a measure in TableB using DAX below:

 

Column =
LOOKUPVALUE (
    TableA[Country_ISO_CD],
    TableB[Country_Origin_ISO_CD], TableA[Country_NM ]
)

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Lookup value from another table

@Route217 ,

 

You can create a measure in TableB using DAX below:

 

Column =
LOOKUPVALUE (
    TableA[Country_ISO_CD],
    TableB[Country_Origin_ISO_CD], TableA[Country_NM ]
)

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Route217 Member
Member

Re: Lookup value from another table

thanks Jimmy excellent feedback once again

Helpful resources

Announcements
Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors