SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom list with different views. In each view I need calculated columns that span across the entire list. How do I use SharePoint designer to perform formula calculations in the views that would span entire view?

Any help is greatly appreciated.


share|improve this question
up vote 2 down vote accepted

Calculated columns only work on the current row item. To do aggregate across multiple rows, you're going to need to roll your own data view web part and create custom formulas in XSLT on the nodeset.

share|improve this answer
Thanks Eric. I followed this link and was able to do it. However, I couldn't get the sub total for each group and Total for the whole group. Must have been because of my immaturity with xslt/xpath. Just wondering if there's a way may be a browser Url that would help me see what xml is being returned by the data view web part would be helpful to me. Thanks. – Nemo Apr 25 '12 at 21:42
This link might be useful to others looking for the same solution:… – Nemo Apr 26 '12 at 2:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.