When the magnetic field and the direction of current are perpendicular to each other, the deflection is maximum. But when they are in the same plane, no deflection takes place. So, the current carrying conductor needs to be placed in the same plane as the magnetic compass to attain no deflection.