Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get Subtotal value?

Status
Not open for further replies.

liorlankril

Programmer
Nov 5, 2005
46
IL
I have a column group. How can I get to the SubTotal value of this group. I want to divise value x with this Subtotal value.
How can I access this value?
 
For a subtotal you can put something like this in the group footer:
[tt]=SUM(Fields!MyFieldNameHere.Value)[/tt]

Or you could do math on it...
[tt]=5 + SUM(Fields!MyFieldNameHere.Value)[/tt]

But remember if your field value can be zero then you dont want to create a "divide by zero" error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top