Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse BIRT Report Developer Guide
Previous Page Home Next Page

Previous Next

How to add a computed field to a data set

To perform a calculation on all the rows in the data set, in Aggregation, select an aggregate function. If performing an aggregate calculation, you can optionally specify a filter expression in Filter to determine which rows to include in the calculation.
In Expression, specify the expression to calculate the desired value. You can either type the expression or use the expression builder to construct the expression. To use the expression builder, complete the following steps:

Choose the expression builder button to open the expression builder. In Category, select Available Data sets, then select your data set.
In the top pane, type an expression. You can also double-click an item to add it to the expression at the insertion point. Figure 3‑5 shows how to create an expression for a computed column.

Figure 3-5 Creating an expression for a computed column

Choose OK to save the computed field. Computed Columns displays the computed field and the expression you defined.
To see all the columns that are specified in the data set, choose Output Columns. The computed field you created appears on this page.

(c) Copyright Actuate Corporation 2009

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire