问题
Can you please help me in creating a final table using Excel Power Query based on the logic mentioned in below screenshot:
回答1:
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.
来源:https://stackoverflow.com/questions/49453462/excel-power-query-how-to-create-final-table-based-on-joins