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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors