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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
srivallyk
New Member

Get one column values from one table to another table

Hi Experts,

I have two tables with one common column with no active relationship, but I want to retrieve column from on table to other table. Can anyone help me on this.
https://www.dropbox.com/s/zteg09gkeyw07hn/Test.pbix?dl=0
I have attached test file, I want LegalEntityLevel column to Project table.

Thanks in Advance.

Regards,
Srivally

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi, @srivallyk 

According to your description, you want to get a column from other table and the two tables have no relationship. Right?

You can create a calculated column in 'Project' table.

Level = LOOKUPVALUE('Legal Entity'[Legal Entity Level],'Legal Entity'[Legal Entity Name],'Project'[ProjectName])

Then you can get the level in 'Legal Entity' table.

vyueyunzhmsft_0-1664332791089.png

For this dax function, you can refer to :

LOOKUPVALUE function (DAX) - DAX | Microsoft Learn

 

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.

 

Best Regards,

Aniya Zhang

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

4 REPLIES 4
v-yueyunzh-msft
Community Support
Community Support

Hi, @srivallyk 

According to your description, you want to get a column from other table and the two tables have no relationship. Right?

You can create a calculated column in 'Project' table.

Level = LOOKUPVALUE('Legal Entity'[Legal Entity Level],'Legal Entity'[Legal Entity Name],'Project'[ProjectName])

Then you can get the level in 'Legal Entity' table.

vyueyunzhmsft_0-1664332791089.png

For this dax function, you can refer to :

LOOKUPVALUE function (DAX) - DAX | Microsoft Learn

 

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.

 

Best Regards,

Aniya Zhang

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

 

dnargade95
New Member

hello, 

i saw your file .

step to follow.

1 create relationship from both table there are two commen column on this table. but if this table does not have simiar value then do sertain transition on referance and duplicate and then create relationship.

2 mearge thoes two column .

3 select column whatever you want.

thanks.

ribisht17
Super User
Super User

@srivallyk 

 

How to Relate ?

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-create-and-manage-relationships

 

Please provide more information here if you need more help

 

Regards,

Ritesh

tamerj1
Super User
Super User

Hi @srivallyk 
which are the common columns?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.