In a MDX query I am using with case statement in SSRS Report. It is not returning the desired result. It should filter [Facility Market]
based on the selection of the Territory
parameter.
with member [Dim Facility].[Facility Market].[Facility Market] as
case [Dim North Texas Sales].[North Texas Rural Sales Territory].currentmember
when [Dim North Texas Sales].[North Texas Rural Sales Territory].&[NTXSalesRuralEast] then [Dim Facility].[Facility Market].&[OKLAHOMA]
end
select......
I would like to change the value of facility market dimension based on the parameter selection and filter the dataset based on that