SYMPTOM:
When a user creates a metric that calculates the rank of a second metric object based on the maximum value of a textual attribute form, and the warehouse database does not provide rank function implementation, an error is received when a report containing the metric object is executed:

Error: SQL Generation Complete. Internal error happens in Calculation. Error in Process method of Component: QueryEngineServer, Project <Project_Name>, Job xxxx, Error Code = -2147212287.
The issue can be reproduced in Strategy Tutorial by following these steps:



CAUSE:
This is a known issue with Strategy Developer 9.x and 10.x
ACTION:
Contact Strategy Technical Support for an update on this issue
WORKAROUND:
Users can implement two different workarounds: