Is it possible to use an expression on the "name" property under the "query" group on "Master Report" under the "Structure" tab to select which query to use, based on the value of a parameter?

I.e., something like =if([PARAM]="Y";"Query1";"Query2")?

The only alternative I can think of to solve my current problem is to have two identical subreports, either of which will be active depending on the value of the parameter, but that seems like an inelegant way to go about it. If possible, I'd like it just to select which query to use (they have identical SELECT clauses, so there will be no difference in field names) based on the parameter (which is set as a required parameter, so it shouldn't try to run the report before it is entered).