Control Rig Simple Root Rotation

Does anyone know how to simply rotate an animation so it goes in a different axis direction? I tried keying in a sequencer the Transform>Yaw Rotation but it doesn’t seem to get baked. It works in the sequencer but the baked animation has the exact same direction as the original animation.