R – How to customize SharePoint list column aggregation (total) calculations

listviewsharepointweb-partswss-3.0

I have a SharePoint list column of type 'Single line of text'. Out of the box SharePoint only provides the ability to display a 'Count' total for this column type. I would like to be able to perform a custom aggregation on the data (specifically to sum numeric data held as text to overcome this deficiency).

I have found examples for doing something similar for calculated columns using XSLT and Javascript but I believe that both of these approaches fail where the data is paginated (only aggregating the subset of the list content displayed on screen).

I want to retain the functionality of the ListViewWebPart (rendering, sorting, filtering, view definition, action menus etc.) but add this functionality. How can I do this?

Best Answer

The only things you can do with totals are:

Average; Count; Max; Min; Sum; Standard Deviation; Variance

Not sure how to calculate anything else.

Related Topic