Group Up Followed by Total Not Working (revised, works fine)

I seem to be having a problem with Groupup followed by a total in another field. I can’t seem to get this to work for either field I need to total after doing two groupups in other fields.

Has anyone else seen this problem?

I’ll post the code if this is not a known problem.

Okay, never mind. My error. A selection and then reverse selection of records I had done above these groupups had come up empty, and that caused this to happen. After I fixed the selection equation, everything groups and totals properly.