禁用参数depllndencySSRS

时间:2017-06-19 12:04:52

标签: reporting-services ssrs-2008 ssrs-2008-r2

我有一个基于SSAS多维数据集的简单报告。 我添加了3个多值参数:公司,项目组,业务线 公司设置为空,而其他两个默认为“全部”选项。 在幕后SSRS将创建一个隐藏的数据集来填充这两个参数。

我有两个问题: - 除非我指定公司参数,否则我的其他两个参数将显示为灰色 - 每当我更改参数时,它都会进行回发并刷新参数页面。

我认为这是因为ssrs会自动在参数之间创建依赖关系,但我不确定。 对projectgroup和businessline的参数值列表的查询不包含参数,因此它不应该依赖于company参数。 我也试过禁用自动刷新,但这没有任何区别

每次在SSRS中设置/更改此类参数时,有没有办法避免回发?

以下MDX查询由SSRS为我的3个隐形数据集生成:

公司

WITH MEMBER [Measures]。[ParameterCaption] AS [Projects]。[Company] .CURRENTMEMBER.MEMBER_CAPTION MEMBER [Measures]。[ParameterValue] AS [Projects]。[Company] .CURRENTMEMBER.UNIQUENAME MEMBER [Measures]。[参数级别] AS [项目]。[公司] .CURRENTMEMBER.LEVEL.ORDINAL SELECT {[Measures]。[ParameterCaption],[Measures]。[ParameterValue],[Measures]。[ParameterLevel]} ON COLUMNS,[Projects]。[公司] .ALLMEMBERS来自[项目会计立方体]

ProjGroup

WITH MEMBER [Measures]。[ParameterCaption] AS [Main Projects]。[Project Group] .CURRENTMEMBER.MEMBER_CAPTION MEMBER [Measures]。[ParameterValue] AS [Main Projects]。[Project Group] .CURRENTMEMBER.UNIQUENAME MEMBER [措施]。[ParameterLevel] AS [主要项目]。[项目组] .CURRENTMEMBER.LEVEL.ORDINAL SELECT {[Measures]。[ParameterCaption],[Measures]。[ParameterValue],[Measures]。[ParameterLevel]} ON COLUMNS ,[主要项目]。[项目组]。来自[项目会计多维数据集]的行列表

业务线

WITH MEMBER [Measures]。[ParameterCaption] AS [Main Projects]。[Business Line] .CURRENTMEMBER.MEMBER_CAPTION MEMBER [Measures]。[ParameterValue] AS [Main Projects]。[Business Line] .CURRENTMEMBER.UNIQUENAME MEMBER [措施]。[ParameterLevel] AS [主要项目]。[业务线] .CURRENTMEMBER.LEVEL.ORDINAL SELECT {[Measures]。[ParameterCaption],[Measures]。[ParameterValue],[Measures]。[ParameterLevel]} ON COLUMNS ,[主要项目]。[业务线]。来自[项目会计多维数据集]的行列表

此致 Sven Peeters

0 个答案:

没有答案