Invalid preceding or following size in OLAP function

Error constant SQLE_INVALID_FRAME_BOUNDARY
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 16
SQLCODE -957
SQLSTATE 22X13
Sybase error code 13531
 Probable cause