Hide an Item (Report Builder and SSRS)
Set the visibility of a report item when you want to conditionally hide an item based on a report parameter or some other expression that you specify.
You can also design a report to allow the user to toggle the visibility of report items based on selecting text boxes in the report, for example, for a drilldown report. For more information, see Add an Expand or Collapse Action to an Item (Report Builder and SSRS).
The following procedures describe how to show or hide a report item in a rendered report based on a constant or an expression.
You can create and modify paginated report definition (.rdl) files in Microsoft Report Builder, Power BI Report Builder, and in Report Designer in SQL Server Data Tools.
Hide a report item
In report design view, right-click the report item and open its Properties page.
To select an entire table or matrix data region, select in the data region to select it, right-click a row, column, or corner handle, and then select Tablix Properties.
In When the report is initially run, specify whether to hide the item when you first view the report:
To display the item, select Show.
To hide the item, select Hide.
To specify an expression that is evaluated at run-time, select Show or hide based on an expression. Type the expression or select the expression (fx) button to create the expression in the Expression dialog box.
When you specify an expression for visibility, you are setting the Hidden property of the report item, as shown in the following image. The evaluated expression shows the report item when the value is False, and hides the report item when the value is True.
Select OK twice.
Hide static rows in a table, matrix, or list
In report design view, select the table, matrix, or list to display the row and column handles.
Right-click the row handle, and then select Row Visibility. The Row Visibility dialog box opens.
To set the visibility, follow steps 3 and 4 in the first procedure.
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 select Column Visibility.
In the Column Visibility dialog box, follow steps 3 and 4 in the first procedure.