SAP Message BRAINOLAPAPI139 - Using named sets is not permitted. See long text

Diagnosis
Named sets cannot be used here

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

Procedure
>Check the definition of the named set. If the statement is a nested MDXstatement, the named set can only be used in the outermost MDXstatement.