Skip to content

Commit c33fd2a

Browse files
authored
Merge pull request #31628 from JustPies/jpDfreshness-8-22
Freshness - SSRS Batch 1
2 parents ba7ae84 + 6ac6d93 commit c33fd2a

File tree

2 files changed

+24
-28
lines changed

2 files changed

+24
-28
lines changed
Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,65 @@
11
---
22
title: "Hide an item (Report Builder)"
3-
description: In Report Builder, you can set the visibility of a report item. You can specify a report parameter or other expression to conditionally hide an item.
3+
description: Learn how to hide or show a report item in Report Builder, specifically by using report parameters and expressions.
44
author: maggiesMSFT
55
ms.author: maggies
6-
ms.date: 03/01/2017
6+
ms.date: 09/04/2024
77
ms.service: reporting-services
88
ms.subservice: report-builder
9-
ms.topic: conceptual
9+
ms.topic: how-to
1010
ms.custom: updatefrequency5
1111
f1_keywords:
1212
- "sql13.rtp.rptdesigner.shared.visibility.f1"
1313
- "10503"
14+
#customer intent: As a SQL Server report designer, I want to hide or show report items to improve report readability and user experience.
1415
---
1516
# Hide an item (Report Builder)
1617

17-
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.
18+
In this article, learn how to set the visibility of a report item based on a report parameter or another expression in Report Builder. You can conditionally hide an item to improve the user experience. You can also design a report to allow the user to toggle report item visibility by selecting text boxes in the report. For more information, see [Add an expand or collapse action to a Report Builder paginated report](../../reporting-services/report-design/add-an-expand-or-collapse-action-to-an-item-report-builder-and-ssrs.md).
1819

19-
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)](../../reporting-services/report-design/add-an-expand-or-collapse-action-to-an-item-report-builder-and-ssrs.md).
20-
21-
The following procedures describe how to show or hide a report item in a rendered report based on a constant or an expression.
20+
The following sections describe how to show or hide a report item in a rendered report based on a constant or an expression.
2221

2322
> [!NOTE]
2423
> [!INCLUDE[ssRBRDDup](../../includes/ssrbrddup-md.md)]
2524
26-
### Hide a report item
25+
## Hide a report item
2726

28-
1. In report design view, right-click the report item and open its **Properties** page.
27+
1. In the report design view, right-click the report item and select **Text Box Properties**.
2928

3029
> [!NOTE]
31-
> 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**.
32-
33-
1. Select **Visibility**.
34-
35-
1. In **When the report is initially run**, specify whether to hide the item when you first view the report:
30+
> To select an entire table or matrix data region, choose the data region to select it, right-click a row, column, or corner handle, and then select **Tablix Properties**.
3631
37-
- To display the item, select **Show**.
32+
1. Select **Visibility** in the left pane.
3833

39-
- To hide the item, select **Hide**.
34+
1. Under **When the report is initially run**, specify whether to hide the item when you first view the report.
4035

41-
- To specify an expression that is evaluated at run-time, select **Show or hide based on an expression**. Enter the expression or select the expression (**fx**) button to create the expression in the **Expression** dialog.
36+
- To display the item, select **Show**.
37+
- To hide the item, select **Hide**.
38+
- To specify an expression that's evaluated at run-time, select **Show or hide based on an expression**. Enter the expression or select the expression (**fx**) button to create the expression in the **Expression** dialog.
4239

4340
> [!NOTE]
44-
> 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**.
45-
> :::image type="content" source="media/hide-an-item-report-builder-and-ssrs/hiddenproperty-propertiesvisibility.png" alt-text="Screenshot of the Properties_Visibility dialog and Hidden property.":::
41+
> When you specify an expression for visibility, you set 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**.
42+
> :::image type="content" source="media/hide-an-item-report-builder-and-ssrs/hiddenproperty-propertiesvisibility.png" alt-text="Screenshot of the Text Box Properties dialog and Expression dialog." lightbox="media/hide-an-item-report-builder-and-ssrs/hiddenproperty-propertiesvisibility.png":::
4643
47-
1. Select **OK** twice.
44+
1. Select **OK** on the **Expression** dialog, and then select **OK** on the **Text Box Properties** dialog.
4845

49-
### Hide static rows in a table, matrix, or list
46+
## Hide static rows in a table, matrix, or list
5047

5148
1. In report design view, select the table, matrix, or list to display the row and column handles.
5249

53-
1. Right-click the row handle, and then select **Row Visibility**. The **Row Visibility** dialog opens.
50+
1. Right-click the row handle, and then select **Row Properties...**.
5451

5552
1. To set the visibility, follow steps 3 and 4 in the first procedure.
5653

5754
### Hide static columns in a table, matrix, or list
5855

59-
1. In Design view, select the table, matrix, or list to display the row and column handles.
56+
1. In report design view, select the table, matrix, or list to display the row and column handles.
6057

61-
1. Right-click the column handle, and then select **Column Visibility**.
58+
1. Right-click the column handle, and then select **Column Properties...**.
6259

63-
1. In the **Column Visibility** dialog, follow steps 3 and 4 in the first procedure.
60+
1. To set the visibility, follow steps 3 and 4 in the first procedure.
6461

6562
## Related content
6663

67-
- [Drilldown action (Report Builder)](../../reporting-services/report-design/drilldown-action-report-builder-and-ssrs.md)
68-
- [Add an expand or collapse action to an item (Report Builder)](../../reporting-services/report-design/add-an-expand-or-collapse-action-to-an-item-report-builder-and-ssrs.md)
69-
- [Expression examples (Report Builder)](../../reporting-services/report-design/expression-examples-report-builder-and-ssrs.md)
64+
- [Drilldown action in a paginated report (Report Builder)](../../reporting-services/report-design/drilldown-action-report-builder-and-ssrs.md)
65+
- [Expression examples in Report Builder paginated reports](../../reporting-services/report-design/expression-examples-report-builder-and-ssrs.md)

0 commit comments

Comments
 (0)