Now, i have to find all the amount corresponding to the respective currency, and add them up so that my final result would have only one amount and currency.
For eg:
my final output should have
Code:
<x:xAmount>sum of all xAmounts</x:Amount> and <x:xCurrency>USD</x:Currency>
<x:yAmount>sum of all yAmounts</y:Amount> and
<x:yCurrency>EUR</y:Currency>
Please give me logic to achieve this using esql.
I am not familiar with java compute node to do this using java.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum