Overview
[top]
Calculated fields allow you to create basic calculations with the fields available in your report.
Note: a calculated field that you create in the report builder cannot be used across multiple reports. It is unique to your report only. If you create a set of calculated fields you wish to use across multiple reports you can either:
- Request the calculations to be included in the View by your administrator or
- Copy the report containing the calculations using the copy function - the copied report will contain the new calculated fields as well.
Why Use Calculated Fields?
When an administrator designs a View they may not create all the variables that you are likely to need in the course of your report writing. The intention of a view is to provide you with sufficient fields for you to be able to write the report you need and to use some of these fields as the basis for more complex calculations.
Simple Formula
[top]
Simple Formulas allow you to build calculations using the formula builder button interface. These may range from very simple addition or multiplication through to CASE statements.
Pre-Defined Formula
[top]
Using a pre-defined formula you can add calculation to your report that will be based on formula rules defined by an administrator or are system default.
Freehand SQL
[top]
If you have SQL skills you may wish to write your SQL directly into the SQL edit box. In this case select the 'Enter SQL' option from the formula tab. This will open the SQL edit box.
Insert the SQL you wish to create your column.
Edit a Calculated Field
[top]
- To edit a formula for a calculated field open the Calculated Fields folder.
- Select the field you wish the edit. It should be highlighted and an edit icon will be visible at the right of the field's name.
- Click the edit icon and the formula popup will open.
- Edit your formula and click OK when completed to close the popup and save your changes.
Delete a Calculated Field
[top]
To delete a calculated field from your report entirely
- Select the field from the calculated field category
- Click the edit icon and the formula popup will open
- Click the delete link to delete the field. The popup will close and return you to the report page.
[top]