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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
JamesGordon
Helper II
Helper II

Merging table info

Hi,

 

I have two tables and i am looking to combine some of the infomation.

 

Essentially table 1 contains a small list of "stock number" and "outstanding amounts" and table 2 contains contains huge list of "Stock number" , "model" and "customer"

 

I am looking to create a DAX column that can place the "model" and "customer" along side the "stock number" in table 1 if they match. Picture below for illustration.

 

Im guessing I'll need to create DAX column for Model and another DAX column for Customer?

 

Power Bi ques 14.jpg

2 ACCEPTED SOLUTIONS
az38
Community Champion
Community Champion

Hi @JamesGordon 

Do you have one-to-one relationships between table1 and table2 by [Stock Number] field?

if so, you dont even need to code smth - just add columns from table 2 to visual


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

ahmedoye
Responsive Resident
Responsive Resident

Hi @JamesGordon , You can add extra columns in your Table 1 with:

 

Model = RELATED(Table2[Model])
Customer = RELATED(Table2[Customer])
 
That ofcourse, assuming your tables have 1 to 1 Relationships. In which case, you can also do as suggested by @az38 .

If those suggestions work for you, kindly mark them as solutions to enable others benefit from them.

View solution in original post

3 REPLIES 3
JamesGordon
Helper II
Helper II

Thank you @az38 and @ahmedoye you were both spot on - i just needed to create the relationship then life got alot easier!!

ahmedoye
Responsive Resident
Responsive Resident

Hi @JamesGordon , You can add extra columns in your Table 1 with:

 

Model = RELATED(Table2[Model])
Customer = RELATED(Table2[Customer])
 
That ofcourse, assuming your tables have 1 to 1 Relationships. In which case, you can also do as suggested by @az38 .

If those suggestions work for you, kindly mark them as solutions to enable others benefit from them.
az38
Community Champion
Community Champion

Hi @JamesGordon 

Do you have one-to-one relationships between table1 and table2 by [Stock Number] field?

if so, you dont even need to code smth - just add columns from table 2 to visual


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.