简体   繁体   中英

Excel Power Query - How to create final table based on Joins

Can you please help me in creating a final table using Excel Power Query based on the logic mentioned in below screenshot: 在此处输入图片说明

I resolved it by myself. Following are the steps: 1) I created a unique country code list with 1 column (Origin & Destination) 2) Left join with Origin table and then got the destination code from common table 3) added a custom column to get all rows except where origin = Destination.

In this way I got the Outbound column values.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM