Oracle Solution for Error ora-36840

Solution for Oracle Error ORA-36840

ORA-36840: (XSLMGEN10) Cube string

.string has no measures

What triggered the Error:

The cube has no measures

What should we do to fix it:

Add a measure to the cube