Expression Builder¶
The Expression Builder helps you create calculated values for Text Fields, conditions, and other expression-aware properties.
Goal¶
Build a valid expression using fields, parameters, and functions — without memorizing syntax.
Prerequisites¶
- A report with fields and/or parameters
- An expression-aware property open (for example a Text Field expression)
Steps¶
- Select a Text Field (or another property that supports expressions).
- Open the Expression Builder.
- Browse categories such as Text, Math, Date, GIS, Logic, and Report.
- Insert fields (
$F{}), parameters ($P{}), and functions from the catalog. - Use templates or favorites when available.
- Validate/test if the dialog offers a test action, then apply.
[ Screenshot: Expression Builder ]
Common expression sources¶
| Token | Meaning |
|---|---|
$F{name} |
Field from the dataset |
$P{name} |
Parameter value |
$V{name} |
Variable (when defined) |
Tips¶
Tip
Prefer catalog functions over hand-typed proprietary helpers. The builder inserts Jasper/Java-compatible templates.
Note
See Functions for category summaries used in day-to-day authoring.