It is not possible to group on subreported data, however you can use SQL Expressions to return data to the main report.
In general a subreport is a bad idea, especially so if you intend to group on it's data.
If you want architectural ideas, you should at the least post the version of your software, and include specifics.
-k