I have a report where I have a group which has a sum of a sum in the group header (group 1). I now want to add a second group (group2)and display a further sum in the footer of group2. I'm struggling a little to explain this but the following is what I do in Crystal 9. Can someone explain how to replicate this in reporting services? I've got as far as the sum of a sum in group1 but cannot get the sum over group2.I've seen from other posts how to add the sum into the page header but there must be a way to display at group2 level??
Crystal 9
Group 2 Header Organisation contains formula3
Group 1 Header contains formula2
Details contain formula1 evaluated for each record
Group 1 Footer contains formula4
Group 2 Footer contains formula5
Crystal 9
Group 2 Header Organisation contains formula3
Code:
whileprintingrecords;numbervar A := 0
Code:
If Sum ({@formula1}, {Group1})>=1 then 1 else 0
Group 1 Footer contains formula4
Code:
whileprintingrecords;numbervar A := A+ {@formula2}
Code:
whileprintingrecords;numbervar A;