SYMPTOM:
When using an analytical engine function for a newly created attribute form in Strategy Developer 9.x, following error occurs:
SQLEngine got an Exception from DFC: Engine Logic: Generate SQL for attribute form expression failed, please check if the expression is valid. Error in Process method of Component: SQLEngineServer, Project Strategy Tutorial, Job 2645, Error Code= -2147212800
STEPS TO REPRODUCE:


CAUSE:
This error occurs when using any function that evaluates in the Analytical Engine only as it is not translated into a SQL statement.
ACTION:
Use an ApplySimple statement which utilizes the database function within it instead of relying on analytical engine functions.