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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors