Is it possible to use another field in option calculation

Hi,

Please refer to solution here Grafana, Elasticsearch datasource and option script

Please let me know if that works

Marcus