MDX statement depending on filtered element


I am trying to apply an MDX statement based on the selected member on the filter dimension.

Filter dimension: Warehouse

MDX statement per element in the Warehouse dimension attribute.

I retrieve the attribute value of the Warehouse (MDX statement) for the SKU dimension.
$<<SOP.Warehouse.Warehouse::Reservation MDX>>

But couldn’t get it to work.

I think UX is managing setting service once but not recursive