SYMPTOM:
A user is attempting to use an ApplySimple to build a metric but receives an error message stating that the fact is not allowed in the expression.
For example, a user is attempting to integrate Oracle Analytical Function with the Strategy Developer metric editor. They then use an ApplySimple to build the expression but the report renders the following error stating that facts are not allowed in the expression:

Object (of type: Fact) not allowed in this place.
CAUSE:
ApplySimple functions are used for simple expressions that use arithmetic operators. Complex functions that use combinations of metrics, attribute forms and facts as arguments must use an ApplyAgg.
ACTION:
Perform the following steps to resolve this issue:

For more information on using the ApplyAgg() function, refer to the following Strategy Knowledge Base documents: