Change format of cubes&measures