Set the altimeter to display altitude based on GPS or ambient pressure & QNH. Settings work the same for both altitude displays based on feet and meters.

altimeter settings