Oracle Error ORA-36840: (XSLMGEN10) Cube string.string has no measures

Oracle Error Message

ORA-36840: (XSLMGEN10) Cube string.string has no measures

Reason for the Error

The cube has no measures

Solution

Add a measure to the cube