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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Dan_at_TWE
Helper III
Helper III

Getting the value from one table to add to another

I have 2 tables.

 

One table has many individual transaction records each containing an employee's name and other data.   

Another table is an employee data table containing the employee's name and their initials.

 

There is a one to many relationship from the employee's name field in employee data table to the employee's name in the individual transactions records table.

 

I want to bring over the particular employee's intials from the employee data table and add their initials to their transaction records so I can use their initials on the transaction report, instead of their name.

 

ie.

1) Look at the current transaction record and find the employee's name.

2) Based on that name, find their initials in the employee info table.

3) Bring over their initials from the employee data table to the transaction record into a new column.

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@Dan_at_TWE , You can create a new calculated column for this to get intials using Related function as two table have relation on the basis of employee name column

 

EmployeeInitials = RELATED('EmployeeData'[Initials])




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

3 REPLIES 3
bhanu_gautam
Super User
Super User

@Dan_at_TWE , You can create a new calculated column for this to get intials using Related function as two table have relation on the basis of employee name column

 

EmployeeInitials = RELATED('EmployeeData'[Initials])




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Thanks.  The simplicity evaded me. LOL!

HotChilli
Super User
Super User

calculated column using RELATED to get the value from the dimension table?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors