Prometheus vs Graphite question

Hi, we use Grafana for a while with Graphite and are integrating Prometheus now. With Graphite, there are commands to work with the results of many queries like sumSeries(#A,#B), is there a way to do something similar with Prometheus queries? I know that I can build bigger Promql queries that would do the job but those huge queries are sometime hard to follow.