Oracle Error ORA-36226: (XSLPDSC07) The syntax of the $LOOP property on formula workspace object is incorrect.

Oracle Error Message

ORA-36226: (XSLPDSC07) The syntax of the $LOOP property on formula workspace object is incorrect.

Reason for the Error

Unrecognized contents in the $LOOP property of a formula in the table function measure list.

Solution

Restrict the contents of the $LOOP property to valid elements (other than OPTIMIZED and MEASURES) of the table function LOOP directive.