How to get query response to Text/Ajax panel

Hi,

We are running Grafana 7.5.6, How can we get the query response to Text/Ajax Panel as Javascript variable.

Hi @durgaprasadthokala

Sorry: can you add some more details? What are you trying to achieve, and what have you tried so far?