# Grafana 9.5.1, expression to add 2 queries from different datasources

**URL:** <https://community.grafana.com/t/grafana-9-5-1-expression-to-add-2-queries-from-different-datasources/90097>\
**Category:** Time Series Panel\
**Created:** [June 22, 2023, 10:15am UTC](https://community.grafana.com/t/grafana-9-5-1-expression-to-add-2-queries-from-different-datasources/90097 "2023-06-22T10:15:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![laidick](https://avatars.discourse-cdn.com/v4/letter/l/7cd45c/32.png) [@laidick](https://community.grafana.com/u/laidick)\
**Post date:** [June 22, 2023, 10:15am UTC](https://community.grafana.com/t/grafana-9-5-1-expression-to-add-2-queries-from-different-datasources/90097/1 "2023-06-22T10:15:34Z")

</div>

- What Grafana version and what operating system are you using?  
9.5.1 , on ubuntu

- **What** are you trying to achieve?  
I have 2 datasources, 1 is prometheus, 2 is postgres  
I want to use expressiont o add 2 queries to show as 1 single metric  
using time series chart.

- **How** are you trying to achieve it?  
I created a query from prometheus  
and another query from postgres, both can be shown correctly independently.  
Then I use expression to add them up  
but the new series is empty (while the original 2 raw queries are valid)
