Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have a view in my list,
I defined aggregations in my view: sum and average of several columns.
Now I want to get programmatically the aggregations results.
How can I get it?
The aggregation is not something that is calculated and stored but just defined type of aggregation required or to be done.
You need to calculate it your own. SharePoint displays the aggregated data by using XSLT.
I had similar case and I wasn't find solution for getting grouped result from list view. I write custom code on c# and LINQ with all aggregation and render data on third-party grid component.
Required, but never shown