Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have two tables like below:
Table 1
Index | Make | Model | Type |
0 | Toyota | Corolla | Car |
1 | Toyota | Yaris | Car |
2 | Suzuki | Katana | Motorcycle |
Table 2
Make | Model | Type |
Toyota | Corolla | Car |
Suzuki | Katana | Motorcyle |
I want to add a custom column using Power Query to Table 2 that looks up the "Make", "Model" and "Type" values and returns the corresponding "Index" from Table 1. Example output is below.
Make | Model | Type | Custom |
Toyota | Corolla | Car | 0 |
Suzuki | Katana | Motorcyle | 2 |
I've tried doing this using multiple combinations of List.PositionOf and List.MatchAll, but haven't been successful so far and would appreciate some help.
Solved! Go to Solution.
@Anonymous
you can use merge. press ctrl and choose matching columns. you can see 1,2,3 in the column name
Proud to be a Super User!
@Anonymous
you can use merge. press ctrl and choose matching columns. you can see 1,2,3 in the column name
Proud to be a Super User!
you are welcome
Proud to be a Super User!