Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reporting Services - hide table column based upon report parameter

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?

Thanks!

like image 374
Dan Appleyard Avatar asked Apr 07 '09 17:04

Dan Appleyard


People also ask

How do you hide a column based on an SSRS expression?

To hide static columns in a table, matrix, or list. In Design view, select the table, matrix, or list to display the row and column handles. Right-click the column handle, and then click Column Visibility.


1 Answers

Use the visibility property of the column. This worked for me.

=iif(Parameters!ParameterName.Value = "TextValueOfTheParameter",False,True)
like image 160
Antione Rockamora Avatar answered Oct 13 '22 01:10

Antione Rockamora