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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply

Help - Building Relationships between 2 data sets

Hi 🙂 

 

I need to build a relationship (I think that is what you call it) between two sets of data. I need the person in data set A's department to populate based on the details linked with their name in the second data set. In excel I had this working with a V look up. 

 

 

Thanks,

 

PowerBI-Curious

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @PowerBI-Curious,

 

In Power BI Desktop, you should be able to make use of LOOKUPVALUE DAX function to create a new calculate column in the second table, to get the corresponding person data in table A.

 

In addition, if there is a relationship between the two tables, you can also use RELATED or RELATEDTABLE DAX function to create the calculate column.

 

If have any question to create the calculate column, please post your table structures with some sample data and your expected result. Smiley Happy

 

Regards

View solution in original post

3 REPLIES 3
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @PowerBI-Curious,

 

In Power BI Desktop, you should be able to make use of LOOKUPVALUE DAX function to create a new calculate column in the second table, to get the corresponding person data in table A.

 

In addition, if there is a relationship between the two tables, you can also use RELATED or RELATEDTABLE DAX function to create the calculate column.

 

If have any question to create the calculate column, please post your table structures with some sample data and your expected result. Smiley Happy

 

Regards

This worked, thankyou @v-ljerr-msft

Hi @PowerBI-Curious,

 

Great to hear the problem got resolved! Could you accept the reply as solution to close this thread? Smiley Happy

 

Regards

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.