Using Excel 365 Powerquery.
I have two datasources table1 and table2 with the following entries:
table1
table2
table1: ID | salary ===========