Grafana Azure KQL

Hi, I need help with Templates, I have Kusto Query to get the data but what I’m looking for is some kind of drop down where user can select the value and grafana shows the result, so I don’t have to create multiple dashboards.

Example Query:
| summarize dcount(ComputeIP)