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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
yevhen_87
Frequent Visitor

Replace values with Power Query

Is it possible to replace values in a table with values from another table by id?

1 ACCEPTED SOLUTION
shamili
Frequent Visitor

Hi @yevhen_87 
Yes, it is possible to replace values in a table by id, by doing following steps:Load two tables and add it in power query editor . Select Table1 on the left and the ID column.Select Table2 on the right and the ID column.Choose Left Outer Join (keeps all rows from Table1).After merging, you'll see a new column with Table2. Click the expand icon. Uncheck everything except NewValue. Remove the original Value1 column. Rename the NewValue column to Value1.

Click Close & Apply to return to Power BI.
By doing the above steps you can be able to replace vales from diffrent table.



@yevhen_87

View solution in original post

2 REPLIES 2
shamili
Frequent Visitor

Hi @yevhen_87 
Yes, it is possible to replace values in a table by id, by doing following steps:Load two tables and add it in power query editor . Select Table1 on the left and the ID column.Select Table2 on the right and the ID column.Choose Left Outer Join (keeps all rows from Table1).After merging, you'll see a new column with Table2. Click the expand icon. Uncheck everything except NewValue. Remove the original Value1 column. Rename the NewValue column to Value1.

Click Close & Apply to return to Power BI.
By doing the above steps you can be able to replace vales from diffrent table.



@yevhen_87

AlienSx
Super User
Super User

yes

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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