In a Dashboard display a string variable from InfluxDB field

Good morning,
I am using InfluxDB as my data source. I want to display a data field of type string as variable text in the dashboard.
How can I implement this?

Welcome to the Grafana forum.

This example may help, where the data field (type:string) called datacenter is configured as a variable: