How to populate CloudWatch metric with zeros?

That “calculated expression” is CloudWatch metric math - that’s what I suggested already and that’s your e1:

Don’t use Grafana’s expressions, use exactly what you used in the CloudWatch console.