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

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

Reply
Jos13
Helper III
Helper III

Lookup in query editor

Hi All,

 

I have the following data

Jos13_0-1611740923318.png

I then created a reference of this table and removed all columns except Employee to create the Employee table. I removed duplicate values and created an index column as employee Id.

Jos13_1-1611741094402.png

Is there any way to get this Id in the Sales table? I tried the merge option, but it isn't working. 

 

merge.png

 

Please help

1 ACCEPTED SOLUTION
Payeras_BI
Solution Sage
Solution Sage

Hi again @Jos13 ,

 

Forgive me if I am not getting your point but when I recreate your steps, duplicating the Sales query to create the Employees Table, I get what I would expect:

 

Payeras_BI_0-1611752756847.png

 

 

Payeras_BI_1-1611752784268.png

 

Please detail further what prevents you from proceeding this way in order to assist you.

 

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

View solution in original post

6 REPLIES 6
Payeras_BI
Solution Sage
Solution Sage

Hi @Jos13 ,

 

You are welcome. Thanks for getting back to me with the result.

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain
Payeras_BI
Solution Sage
Solution Sage

Hi again @Jos13 ,

 

Forgive me if I am not getting your point but when I recreate your steps, duplicating the Sales query to create the Employees Table, I get what I would expect:

 

Payeras_BI_0-1611752756847.png

 

 

Payeras_BI_1-1611752784268.png

 

Please detail further what prevents you from proceeding this way in order to assist you.

 

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain
Payeras_BI
Solution Sage
Solution Sage

Hi @Jos13 ,

 

Instead of referencing try by duplicating the query.

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

Hi @Payeras_BI,

I can merge if I duplicate. But If I add sales of a new employee in the Sales table, it won't get reflected in the Employee table. I need to capture the new employee as well. Duplicating the table won't give us the outcome as expected.

Hi @Jos13 ,

 

I understand both queries are connected to the same Source and is there where you update the Sales table. Is this correct?

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

You are right @Payeras_BI 

I was entering the data directly into Power BI using Enter Data from the Home ribbon. My bad. 

I tried data load from an Excel file and it worked perfectly. 

Thank you so much! I really appreciate it 😊

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors