calculate(sum(金额),all(城市)) -- 所有城市总合计distinctcount(城市)calculate(sum(金额),all(城市)) / distinctcount(城市)