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
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
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!

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