Does you entity have the needed attribute?
Is the type of the attribute decimal or integer (you can’t sum up a string)?
If answeres are yes, I would suggest to use a stable version of Mendix to do your training. 9.0.3 is a beta release and may contain bugs.