Returns an aggregated value from the cube.