How to hide an element conditionally
Select the element to hide conditionally.
In Property Editor, under Properties, choose Visibility. The Hide Element option appears, as shown in
Hide Element option in Property Editor
Select Hide Element to specify that this element be hidden. If you want the element, such as an empty row, to always be hidden, this selection is all you need to do. If you want to hide the element conditionally, specify the condition as well.
Select the report format to which you want to apply the hide condition.
To apply the hide condition for all report formats, select For all outputs.
To apply the hide condition for certain report formats, select For specific outputs. Also select this option if you want to apply different conditions, depending on the report format.
Specify the hide condition by performing the following tasks:
Open the expression builder.
On the expression builder, create an expression that specifies the hide condition. Remember, you have to think about when you want to hide the element, not when you want it to appear.
For example, to display the text message, Jumbo, when a loan amount exceeds $363,000.00, conditionally hide the text element using the following expression:
row["LoanAmount"] < 363000
This expression hides the text message when loan amounts are less than $363,000.00.
Preview your report to test the conditional visibility.