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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors