Built-In Variables

Jaspersoft Studio makes some built-in variables available to you. See the table below. These variables cannot be edited. You notice that their names are light gray. Other variables are black.

Variable Name

Description

PAGE_NUMBER

Contains the current number of pages in the report at the report time.

COLUMN_NUMBER

Contains the current number of columns.

REPORT_COUNT

Contains the number of records processed.

PAGE_COUNT

Contains the current number of records processed in the current page.

COLUMN_COUNT

Contains the current number of records processed during the current column creation.

MASTER_CURRENT_PAGE It is used in subreports or report parts to display the current page number.
MASTER_TOTAL_PAGES It is used in subreports or report parts to display the total number of pages.