• You can try to write conditinal group expression for matrix Row Groups that depends on the selected value of the Parameters. You need three level Row Group: when one of these level is unnecessary the group expression is 1=1 and you set Visibility To Hidden.

    You need to parametrize Drill-down function too