Aggregation

With Lycia, you can perform some basic mathematical operations with your data immediately when creating BIRT reports.

You get access to this functionality by means of the Aggregation tool (available from Palette).

Here is the list of math operations you can perform on your data (the exact operation depends on the contents of the column and type of data):

AVE

CONCATENATE

COUNT

COUNTDISTINCT

FIRST

IRR

IS-BOTTOM0N

IS-BOTTOM-N-RECENT

IS-TOP-N

IS-TOP-N-PERCENT

LAST

MAX

MEDIAN

MINMIRR

MODE

MOVINGAVE

NPV

PERCENTILE

PERCENTRANK

PERCENTSUM

QUARTILE

RANK

RUNNINGCOUNT

RUNNINGNPV

RUNNINGSUM

STDDEV

SUM

VARIANCE

WEIGHTEDAVE

As the data in the report is organized in columns, aggregation tool is applied to the columns (and not to the rows, separate cells, or the database as a whole).

You can use aggregation in reports organized as tables and lists.

If your list contains several groups, you can apply aggregation to the whole list or to each group separately.

You can use aggregation as many time in your report as you need:

You can perform one or several operations for several different columns one by one (e.g. SUM for the Totals column and SUM and MAX for the Discount column.

But you CANNOT use SUM to add together the contents of the Totals and Discount columns).

To perform aggregation to a certain piece of data, please follow these steps.

Aggregation builder window

Aggregation builder window is used for setting parameters for the aggregation tool.

Usually, only three fields are used to build aggregation - Display Name (in Step 2 above), Expression (Step 3), and Function(Step 4).

Other fields are auxiliary and are used only if you want to add some specific properties to the aggregation tool.

Column Binding Name is set automatically, and displays the number of aggregation applied to the report.

If necessary, you can change it by typing in some other name.

The Display Name ID option allows you to display the necessary ID name for the aggregation tool;

In the Data Type drop-down list, you can specify the data type of the values you want to process.

When checked, the Export option allows exporting the aggregation results:

TheFilter condition option allows filtering the values to exclude them when aggregating.

E.g., if you want to use aggregation on a column but want to exclude some rows, you go to Expression Builder and select the element you want to exclude.

The Aggregate on option allows you to aggregate data on grids or on groups by checking the corresponding option.

 

Contact Us

Privacy Policy

Copyright © 2026 Querix, (UK) Ltd.