Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Two groups totalling

Two groups totalling

Two groups totalling

I have a report that basically looks like this

Line 1 Date Day of the week 1 (should be 2)
Line 2 Group Campaign 1 1
Line 3 All Regions 1
Line 4 Detail Row Region1 0
Line 5 Detail Row Region2 1
Line 6 Detail Row Region3 0
Line 7 Group Campaign 2 1
Line 8 All Regions 1
Line 9 Detail Row Region1 0
Line 10 Detail Row Region2 1
Line 11 Detail Row Region3 0

Line 1 should be the sum of lines 2 and 7, but only ever seems to be the sum of line 2, if the value of line 1 is =sum(Fields!Name.value) it doubles up everything. if I just leave it as =Fields!Name.value as I say it just gives me the single value.

I am using Visual studio 2005 for this with a SQL 2008R2 back end, if anyone can help solve this I would be very grateful.

'Clever boy...'

RE: Two groups totalling

I have had notification of a response, but can't see it?

'Clever boy...'

RE: Two groups totalling

Hi Jeff, Sorry about that. I read your question, wasn't sure I understood it and then mistakenly entered my question in the reply instead of starting it's own thread. I realized my error and deleted the response. My appologies.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close