Two separate problems. Two different systems. Confusing them is the most common — and most expensive — mistake players make before a transfer window.
Not included in your Transfer Score at all. Dismissing troops will never reduce your pass cost — but they do count toward the Power Cap check.
Injured troops and reserves in the Enlistment Office are both included in your cap power number. You cannot hide them — they must be dismissed to drop your power.
Don't trust your profile power. The number on the transfer page itself is the one that matters.