@mrod Hi,
what should be clarified firstly is that the MED will be compared when the routes comes from the same AS, and the lower MED would be preferred.
So if you want to adjust the MED to influence the choosing routes, you should lower the MED of which route you want to be added into the routing table.
you are kindly advised to offer an example, so that we could explain it more detailed.