SAP Message BRAIN414 - Variable &1 is not allowed in a calculated key figure

Diagnosis
The variable &V1& must be replaced with a hierarchy attribute. Thisfunction is not supported for calculated key figures.

Procedure
Define a formula analogous to the calculated key figure.