Oracle Error Message
ORA-36904: (XSAGDNGL44) In AGGMAP workspace object, RELATION workspace object occurs after a dynamic model. The dynamic model must be the last calculation within the AGGMAP.
Reason for the Error
Before the current relation, dynamic model exists.
Solution
Make sure the dynamic model is the last statement.