Skip to Content
Former Member
Aug 28, 2017 at 09:17 AM

How to calculate aggregation(average,sum) in Odata version 2.0


//in score tab it should show the average. 
<custom:coreTile topic="Average across all match" score="72"    id="125252">
	</custom:coreTile >

I've a odataService version 2.0 "'score>/MatchDetail" which have multiple scores. I want to calculate average score and show in my score tab instead of 72.on page load it should be calculated automatically. I didn't find any solution in odata to calculate average or sum in version 2.0, secondly how I can use this service as well.