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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
jkapso751
Helper I
Helper I

Replace text in a column in one query with mapped data in another

Hi all,

I'm looking a way to replace text in a column in one query with mapped data in another.  In the example below, I would want to replace all the names in Column1 with either Group1 or Group2 from Column2 (in Query2).  I'm guessing I'll need to use the "Table.ReplaceValue" function.  Is there a way to refer to other query tables in the formula syntax?

 

jkapso751_0-1686253477678.png

 

Many thanks!

 

 

1 ACCEPTED SOLUTION
jkapso751
Helper I
Helper I

Found the solution in these two very helpful videos:

Power Query: Bulk Replace Values from a table in Excel & Power BI - YouTube

(No/low code solution using merge)

Quick Tip - Replace value with another column in Power Query - YouTube

(Replacing nulls with text in another column)

View solution in original post

1 REPLY 1
jkapso751
Helper I
Helper I

Found the solution in these two very helpful videos:

Power Query: Bulk Replace Values from a table in Excel & Power BI - YouTube

(No/low code solution using merge)

Quick Tip - Replace value with another column in Power Query - YouTube

(Replacing nulls with text in another column)

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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