If you chose two targets, Invert switches the power and toughness of one creature and it switches the power and toughness of another creature. It doesn't switch one creature's power with another creature's power.