Alert for time series graph with two different queries result division- (influxdb and grafana)

i have to send alert for two queries result division.
e.g. query-a/query-b
but as i know we can only send alert for time series graph and in this we can not divide two different queries result, how i can achieve this behavior