【发布时间】:2015-11-05 16:39:15
【问题描述】:
我有一个可以使用 4 个不同参数进行过滤的母版。我使用 iif 语句加入所有参数以过滤报告。
我现在所拥有的问题是选择多个参数时,它倾向于返回第一个参数的值,而不是全部 我的参数表达式如下:
表达式
iif(IsNothing(Parameters!Div.Value)=0,Parameters!Div.Value
,iif(isnothing(Parameters!St.Value)=0,Parameters!St.Value
,iif(isnothing(Parameters!Sp.Value)=0,Parameters!Sp.Value
,Parameters!Hc.Value)))
价值观
=iif(IsNothing(Parameters!Div.Value)=0,Parameters!Div.Value
,iif(isnothing(Parameters!St.Value)=0,Parameters!St.Value
,iif(isnothing(Parameters!Sp.Value)=0,Parameters!Sp.Value
,Parameters!Hc.Value)))
任何帮助都会有所帮助
【问题讨论】: