How to combine result from dynamic tables (instance1 , instance 2.. instance n )within influxdb) and show it as one graph in grafana

Below query is used on grafana to connect to tables in influxdb

  • SELECT mean(“value”) FROM /Instance(.*).codes.200.gauge/ WHERE timeFilter GROUP BY time(__interval) fill(none)

Above query shows individual results of different instances, but i need them as combined one

Below is graph genrated from above metioned query
08%20PM%20(1)