SAP Message BRAINOLAPAPI138 - Use of calculated members is not permitted; see long text

Diagnosis
Definition of a calculated member is not permitted here.

System Response
Execution of the MDX statement ends with an error.

Procedure
Check the definition of the calculated member. If the statement is anested MDX statement, definition of the calculated member is notpermitted.