Aggregating Metrics accross different data sources

Hi Grafana team,

I am working on a problem to emit a particular metric for our service . This metric will have two types of values . either 0 or 1. But this same metric will be emitted from different data sources. Can we aggregate and take a mean of the metric across different data sources for a certain granularity.