Is it possible to add an aggregate field over a calculated field?
Suppose there is a cds with following fields:
and I want to add an agregate to get the sum of Total column. Is it possible?
Yes, that is possible if you change the calculated field to an InternalCalc field. The calculation is still done in the OnCalcFields event, but you have to check the state for InternalCalc when you make the calculation for that field.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With