• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2362
  • Last Modified:

SSRS Sum issues in Group footer

I'm working on SSRS 2005

Im having an issue with Sum of a report group in the report footer to get my grand totals. This report is grouped by Vendor. Some vendors we have credits with but an over all balance. Other vendors we have an over all credit with. I want to show both but dont want to sum the ones with an over all credit. This is so our totals will come out right but we can see who we need to collect these credits from. In the example below I dont want to sum any amount from Vendor D. Vendor A has a sum of 0 dollar so its OK. In the below example I would like to see a grand total of $105.00 not $95.00 which is what I get if I just sum my net amount due.

Example:

Vendor A = $0.00 (This is my Net amount due for Vendor A)
($100.00)
$100.00

Vendor B = $25.00
($50.00)
$75.00

Vendor C = $80.00
$80.00

Vendor D = ($10.00)
($65.00)
$55.00

I have created the below expression in the group total so that Vendor D will show 0 dollar in hops I could just sum the textbox with group totals.
=(iif(sum (Fields!net_amnt_due.Value)<=0,0,sum (Fields!net_amnt_due.Value)))
Below is the expression I have in my report footer textbox.
=Sum("textbox43")
It says that the value expression for the Report Footer uses a numeric aggregate function on the data that is not numeric.

Any ideas will be helful as I've been trying different things over the past weekend with no luck.
0
abarefoot
Asked:
abarefoot
  • 3
1 Solution
 
Auric1983Commented:
Try using the same formula from your group footer.
0
 
abarefootAuthor Commented:
I'm having issues with group footer so I don't see how that will help.
0
 
abarefootAuthor Commented:
Maybe if someone knows how to make an iif statement be numeric that would fix my issue.
0
 
abarefootAuthor Commented:
OK I figured out that adding Val around my statement changed it to numeric.  I'm still having issues as I cant sum a ReportItems! in the body of the report.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now