Unable to create calculated field

I have created a dashboard where the data source is custom query which invokes a routine.when I am trying to create calculated field using account-1 it is showing invalid formula.But with other account I am able to created calculated field.Please suggest what I am missing here and why it is working for one account and not for other.

0 0 59