get formula  value for each group in the report -- HELP

Tech_Men used Ask the Experts™
hi all,

i have a time calculation formula
the problem is that i get a grand total for all the report
i need this formula will run for each group separately
i have this formula  :
Truncate ({Msam.TotalHour})
 {Msam.TotalHour}- Truncate ({Msam.TotalHour})
CStr (Sum ({@@ 100%hrs}) + (Sum ({@@100%mins}) * 100 \ 60), "###") + ":" +
 CStr (Remainder (Sum ({@@100%mins}) * 100, 60), "00")

the @TotalTime are placed in the group Footer of the report but the value are for all the reports in all groups how can i fix that the @TotalTime will run each group  separately ??
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Consultant
Most Valuable Expert 2011
Top Expert 2013
Try this in the group footer

CStr (Sum ({@@ 100%hrs},{YOURGROUPFIELD}) + (Sum ({@@100%mins}{YOURGROUPFIELD}) * 100 \ 60), "###") + ":" +
 CStr (Remainder (Sum ({@@100%mins}{YOURGROUPFIELD}) * 100, 60), "00")

Replace {YOURGROUPFIELD} with the field you ar egrouping on



thanks aloot ...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial