expression to hide multiple tablix in ssrs 2008

夙愿已清 提交于 2019-12-25 07:59:06

问题


I have 4 tablix in my ssrs report (WTD/MTD/QTD/YTD), i have created a parameter to select between these 4 tablix, can any one please let me know expression for hiding the tablix based upon the selection from the parameter, WTD should be default and if i select mtd, qtd and ytd should be hidden.

Thanks in advance


回答1:


Within the Tablix, under Visibility you will 3 options "Show, Hide, Show or Hide based on an expression". Please ensure you select "Show or hide based on an expression".

For example in order to display WTD when WTD is selected it would be Your expression should be the following:

Parameters!ParameterName.Value <> 'WTD'

Then this table will be hidden when the value is not WTD.

Similarly in order to display MTD Your expression should be the following:

Parameters!ParameterName.Value <> 'MTD'

By default, within SSRS you only add Hidden expression.

Hope this helps.



来源:https://stackoverflow.com/questions/41452207/expression-to-hide-multiple-tablix-in-ssrs-2008

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