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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
iggys76
New Member

Table with 2 fields referencing the same field in an other Table

Hi all!

 

I have a Table

Discussions

 

Id user1 user2

 

 

and an other Table

Users

Id Name Surname

 

 

Now both the fields user1 and user2 in Discussions refer to the same Id field in Users but I cannot create a relationship between Discussions.user2 and Users.Id since there already is a relationship between Discussions.User1 and Users.Id and Power BI says I need to deactivate that relationship to be able to create a new one between Discussions.User2 and Users.Id.

 

I want to be able to display both the Users having the Discussion so I need to be able to link both Discussions.User1 and Discussions.User2 to Users.Id to display Users.Name & Users.Surname for both Users in the report... how would I do that?

 

Thanks.

1 ACCEPTED SOLUTION
edhans
Super User
Super User

Best option is in the source data using Power Query is to concatenate User1 and User2 in Discussion table into a single field using the Merge Column feature. Then do the same for the Users table for Name and Surname fields.

 

Then do your join with the merged fields from both tables.

 

If you cannot do in the source data or with Power Query, do it in the table view with either the CONCATENATE() function, or using the ampersand. Then do the join with those merged fields.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

1 REPLY 1
edhans
Super User
Super User

Best option is in the source data using Power Query is to concatenate User1 and User2 in Discussion table into a single field using the Merge Column feature. Then do the same for the Users table for Name and Surname fields.

 

Then do your join with the merged fields from both tables.

 

If you cannot do in the source data or with Power Query, do it in the table view with either the CONCATENATE() function, or using the ampersand. Then do the join with those merged fields.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

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