Prometheus Adapter Question

Hello,

What configuration can be done in order to sum (and not Average) the values (pod metrics) I get from the Prometheus Adapter and then import them to hpa.yaml configuration in order to scale based on the sum of the values I get from the adapter?

Thank you in advance