Calculation

Greetings!
My document consist of the fields: "abc","def" and "xyz".
I had created a scripted field called 'adding' to add the value of the field "abc"and "def" within a document,
doc['abc'].value+doc['def'].value

I would like to obtain the sum of the documents 'adding', then this value divide by sum of documents field "xyz". Is there any possibility to do that?
Thank you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.