What type of parameter are you using? Do your parameters specify whether to show the group or what the report should be grouped on?
I have done this with one level of grouping, but it should be easily extendable to more.
Assuming that the parameters indicate whether or not to show the group, try this:
1. Create a formula for each group parameter. It will look something like this:
If {?Show_Group1} then {table.group1_field} else '1'
the "else" result in this if statement must be of the same data type as the field you're grouping on.
2. Group by the formula.
3. In the Section Expert, for the group header and footer sections click on the formula button next to the Suppress checkbox (do NOT check the checkbox) and enter:
not {?Show_Group1}
4. Put your data in the details and summaries in the group footers.
-Dell