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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to do mapping from one column (table 1) to one other column (table 2) in Power Query

Hello,

 

I am trying to create a kind of conditional column from [Country] of Table 1 with [Country] of Table 2.

 

The goal is Country Table 1 = Country Table 2 then take Country Table 2.

 

But the issue is that I have different Countries that are not matching because of typology.

 

For exemple : The contry Congo is coming as "Congo (Republic of)" in Table 1 and Congo in Table 2. 

 

This need to be done in Power Query as I use this conditional column as a Key to do a merge.

 

Any idea of how this can be done please ? 

 

Thanky you for your help.

 

 

1 REPLY 1
mickey64
Super User
Super User

For your reference.

 

Step 1 : I duplicate 'Country' column of Table 1.

 

Step 2: I  split the column by delimiter 'space'.

mickey64_0-1697021420580.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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