You cannot create a compound foreign key relationship using more columns than exist in the target table. Make sure the number of columns you’ve selected matches the number in the target table.
For more information, see Creating a Relationship Between Tables.