I have a report with 3 group sections: Location -> Team -> Person

Users may want the report to be displayed without grouping by Team and i don't want to go with 2 almost identical copies of the report. How can i achieve that functionality based on a parameter?
I tried to set Suppress check for header and footer sections of Team but this doesn't remove grouping actualy, just hides the bands