Forum

Power Query VLOOKUP...
 
Notifications
Clear all

Power Query VLOOKUP Merge issue

2 Posts
2 Users
0 Reactions
156 Views
(@svante109)
Posts: 1
New Member
Topic starter
 

I was looking at the Power Query VLOOKUP page, and it seems to be what I was searching for. My issue is that the two columns that i'm merging are numbers, and the data that I actually want are text. 

 

I have a table with subscriptions, which have a column with the customer ID for the customer. In another table I have all the customers with ID and Name. I want to merge the two CustID columns and then have Power Query show the customer name for me. 

I have the subscriptions as my "data" table, and customers as my "Categories" table. 

 
Posted : 16/04/2019 5:24 am
(@catalinb)
Posts: 1937
Member Admin
 

Hi Mathias,

When merging 2 queries, you need to make sure that the key columns pairs have the same format( numeric, text, date and so on). For example,  if ID is formatted as numeric on a table, cannot be formatted as text in the second query, it will return no match.

The result of the merge will be a table. By clicking the Expand button on the merged column, you will be able to select which columns you want to see from the second table/query, no need to select the columns used as keys for the merge, as you already have them displayed in the first table.

 
Posted : 16/04/2019 7:56 am
Share: