Getting metrics from a different panel within same dashboard for alerting

Can I import a query from another panel within the same dashboard so that I can set alerts accordingly? This is for the condition where we mention the ‘of’ parameter. Currently, I couldn’t find any solution for this.

Hi sakshya,
What you want is to have an alert where you evaluate the query A and B but in the panel only see A?
If this is the case you can simply hide the Query, this does not prevent you from using it in the alert rule