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
gator99
Helper I
Helper I

linking data from a field in the same table from one field to another??

Sorry - not exactly sure how to explain (at least in the subject line) what I am after, but let me try:

 

I have a customer table and inside of this table are fields with customer demographics (i.e. name, address, CustID etc.) with that said there is also a referral id of the customer that referred them to us (RefbyID) which actually equals the CustID in the same table.

 

I have attached a screenshot (exported) of a simple table to show this relationship.

 

What I am trying to do is Power BI is creat a report that shows the customers that have been referred to us and in the same report pull the referring customers information in it.  Hopefully that make sense?

 

Capture.PNG

 

 

 

 

1 ACCEPTED SOLUTION
Phil_Seamark
Microsoft Employee
Microsoft Employee

Have a look at creating a table in the Query Editor using the Merge feature.  But join Cust ID from one table to RefByID in the other

 

This should create a new table for you which, when you rename the columns appropriately, will probably allow you to build your reports.


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Phil_Seamark
Microsoft Employee
Microsoft Employee

Have a look at creating a table in the Query Editor using the Merge feature.  But join Cust ID from one table to RefByID in the other

 

This should create a new table for you which, when you rename the columns appropriately, will probably allow you to build your reports.


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

I have not, but to be clear since this data is all in one table, I would need to duplicate the original table then merge correct?

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