SSRS多个级联参数

时间:2017-11-06 08:54:31

标签: sql-server reporting-services ssas mdx

我的报告中有6个级联参数。第一个工作正常,它过滤第二个参数中的值,但第三个不过滤结果,它返回所有值。有人可以先指导我如何使用这么多参数?

提前致谢,Olga

1 个答案:

答案 0 :(得分:0)

我设法自己解决了。维度之间的M:N关系存在问题。问题是显示所有Web服务,因为WebService和Name之间的关系未得到强制执行。所以我改变了With部分:

$ jazzy

然后改变了

WITH 
MEMBER [Measures].[ParameterCaption] AS IIF([Dim Web Service Web Method].
[Web Service].CURRENTMEMBER.MEMBER_CAPTION ="All","Сите сервиси",[Dim Web 
Service Web Method].[Web Service].CURRENTMEMBER.MEMBER_CAPTION)
MEMBER [Measures].[ParameterValue] AS IIF(IsEmpty([Measures].[Broj 
Pristapi]),null,[Dim Web Service Web Method].[Web 
Service].CURRENTMEMBER.UNIQUENAME)
MEMBER [Measures].[ParameterLevel] AS IIF(IsEmpty([Measures].[Broj 
Pristapi]),null, [Dim Web Service Web Method].[Web 
Service].CURRENTMEMBER.LEVEL.ORDINAL)

成:

[Dim WebService WebMethod].[Web Service].ALLMEMBERS ON ROWS