Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

Thanks.

share|improve this question
add comment

1 Answer

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
1  
This link might be useful to others looking for the same solution: techtrainingnotes.blogspot.com/2011/01/… –  Nemo Apr 26 '12 at 2:13
add comment

Your Answer

 
discard

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.