Reporting Services - hide table column based upon report parameter

后端 未结 8 1383
旧时难觅i
旧时难觅i 2021-01-04 13:45

I have a report in Reporting Services 2005, and I want to hide or show a single table column based upon a report parameter. Does anyone have any idea how to do that?

<
8条回答
  •  醉话见心
    2021-01-04 14:26

    If you want to hide whole column, when there are no data at all for that specific column in the report, you can use following code in the column visibility/expression:

    =IIF(IsNothing (Sum(Fields!columnA.Value, "ReportA")),False,True)
    

提交回复
热议问题