在 MDX 查询中,我在 SSRS 报告中使用 with case 语句。它没有返回所需的结果。[Facility Market]
它应该根据参数的选择进行 过滤Territory
。
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......
我想根据参数选择更改设施市场维度的值并根据该参数过滤数据集