Before you can add conditional formatting or
conditional rendering to your report, you must add a variable. You
can create a variable in the condition explorer or in the Properties pane.
Procedure
- Select the report object.
- In the Properties pane, under Conditional,
double-click the conditional property to which to assign the variable.
The following conditional properties are available:
Goal
|
Conditional Property
|
Specify a variable based on which text can be
conditionally shown.
For example, you want different text to
appear when a report is run in a different language.
|
Text source variable
|
Specify a variable based on which object can
be conditionally rendered.
For example, you want to make a
revenue report smaller by not rendering rows that are below a threshold.
|
Render variable
|
Specify a variable based on which object can
be conditionally styled.
For example, you want data that meets
some criterion to appear in a different color.
|
Style variable
|
Specify a variable based on which objects in
a block can be conditionally rendered. Applies only to conditional
block objects that you insert in a report.
|
Block variable
|
- In the Variable box, click an existing
variable or one of the following variable types:
- <New language variable>
- <New string variable>
- <New boolean variable>
-
In the New variable dialog box, in the Name box,
type the name of the variable.
-
If you created a string variable, click the add button , type the string values to define, and click OK.
- If you created a language variable, select the languages
to support and click OK.
- In the Expression Definition box,
define the condition.