How to make tablix visible based on parameters in SSRS

拜拜、爱过 提交于 2019-12-01 12:48:22

问题


I have a Report which has 3 parameter values ABC,BBC,CBC and i have three tablix TAB1,TAB2,TAB3 .

my requirement is to Display tablix TAB1 when parameter is set to ABC Display TAB2 when parameter is set to BBC display Tab3 when patrameter is set to CBC what is the expression i need to write in visibility property of each tablix.

Thanks in advance


回答1:


for TAB1:-

=iif(Parameters!parametername.Value="ABC",false,true)

for TAB2:-

=iif(Parameters!parametername.Value="BBC",false,true)

for TAB3:-

=iif(Parameters!parametername.Value="CBC",false,true)

This is a pretty easy task. Here is more about SSRS Parameters



来源:https://stackoverflow.com/questions/22620662/how-to-make-tablix-visible-based-on-parameters-in-ssrs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!