I have a parent entity that maintains a treshold (integer) which the children entities together cannot exceed.
I created a view on that, through aggregation, gives me the SUM of all childrens fields. So the output is a single integer value. Now I need to compare this value with the treshold value of the parent. How can I do this (probably in the process I need to store the views result into a field)?