Change Values from Prometheus in Dropdown List


we have a dashboard in grafana, which queries prometheus about the status of a service.
We do this for all customers and get the customer number back.
As we would like to have the customer name visible, I’m looking for a solution, to swap the returned customer number with the customer name.
I could do this as a static text or with an SQL query.

Any ideas?