Skip to content


Value of field 'CR' is invalid as it is not set until after the rolling column

Adrian Harris asked 7 years ago
I entered the script below as a calculated field and I receive the error above.  Is ther e something wrong with syntax?
 return “0”;
Patrick Roth Staff replied 7 years ago


I don’t think that the error is coming from this calculation.

When you press the Validate button, SC compiles all the scripts on the map and reports all errors.

From the error, I believe you have a rolling column and then a calculation after that. The rolling column references that calculation and the error is telling you need to switch the order.

In your calculations, try moving the rolling column down to the last position and re-validate.

Adrian answered 7 years ago
Hello Patrick I deleted and recreated the map, which solved my issue.

If you would like to submit an answer or comment, please sign in to the eOne portal.