Precast concrete beam and corbel

The bending moment M acts about the z axis. Consequently, the column's moment of inertia about the z axis is required for the flexure formula.