Garmin not showing DI2 gear ratio

I've recently bought a new bike with Shimano DI2 electronic shifting. I've connected the system with my Edge 530, which shows me the gear I'm in. However, it doesn't show me the gear ratio, although there is a gear ratio data field. It just has 0:0 no matter what gear I'm in. Does anyone know how to fix this so it does display the ratio?