Can I query the result of a math operation done through Grafana?

Let’s say I have 2 queries in Grafana (in InfluxQL) querying 2 different measurements (queryA and queryB).

In InfluxQL, I can’t easily combine 2 measurements if they don’t have the same structure, but in Grafana, I can do ${queryA} + ${queryB}.

Now is there a Grafana API allowing me to query the result of ${queryA} + ${queryB} ?

Not that I am aware of.