Well you have to be careful on your grouping here becasue these are not mutually exclusive groups of data and once you group an item it will ony appear in that group (not both).
Create a GRoup on TEAM FIELD
Create 3 Running Totals (or 6 if you need group and report totals)
RT#1 name= "TeamStillOpen" (or whatever you want)
Field to summarize=preferably a primary key field
Type of Summary=DistinctCount
Evaluate set to "use a formula" and insert the formula as
not ({table.status} in ["Completed", "ClosedMail", "Closed"])
Reset =On change of Group (select group1...Team field level)
Place on GroupFooter 1.
RT#2 is the same but name it "Team_Created_Yesterday"
and use the evaluate formula of
{creation date} in currentdate-1
Place on GroupFooter 1.
RT#3 is the same but name it "Team_Completed_Yesterday"
and use the evaluate formula of
{creation date} in currentdate-1
Place on GroupFooter 1.
If you need these for Overall Report totals
make 3 more the exact same as the other 3 (reuse the 3 evaluate formulas) but make the reset as NEVER for each and place on the Report Footer.
Does this work for you?
Edited by DBlank - 11 Aug 2009 at 7:44am