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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two groups totalling

Status
Not open for further replies.

jeffwest21

IS-IT--Management
Apr 4, 2013
60
GB
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...'
 
I have had notification of a response, but can't see it?

'Clever boy...'
 
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.
Jacque
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top