How do you calculate the sum of such virtual values?

then you have to create relations to these numbers and rollup-sum these relations

1 Like