I think you have a calculated dimension, and the expression and the calculated dimension simply do not add up.
You sample file does not contain the file you use in the expression, so naturally this will fail. Please provide sample that match you issue description to add value to the thread.