Forum

VLOOKUP function in...
 
Notifications
Clear all

VLOOKUP function in Power Query

2 Posts
2 Users
0 Reactions
81 Views
Anders Sehlstedt
(@sehlsan)
Posts: 970
Prominent Member
Topic starter
 

Hello,

I am looking for a way to add data in a custom column in Power Query similar to the VLOOKUP function in Excel.

In short, my data source contains data of users and the name of the country they live in. What I want is to look up the country name against another table / query and from that get the region name.

Example: A user lives in Sweden, in the custom column it should then be listed Scandinavia. Another user lives in Tokyo, the custom column should then list Asia. And so forth.

Is this possible?

Br,

Anders 

 
Posted : 27/12/2016 1:25 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Anders,

You can Merge Queries to achieve the same as VLOOKUP. See session 3.04 in the Power Query course.

Let me know if you have any problems.

Mynda

 
Posted : 28/12/2016 1:39 am
Share: