Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top