I’m thinking about the phrase “group by”, which is great for technical folks but maybe not good UI language.
So far my alternatives are “roll up”, “drill down”, “compare by”, and narrowly, “sub totals” or “average by” (skipping group and embedding function).