Custom Columns - Formula Editor Tab
Access this feature by opening an existing report (Reports>{Any applicable report}> |
Use this tab to build a formula for a custom column. You can move a column from the Available Columns box to the Formula box or enter the column name in brackets. The arithmetic operators multiply (*), divide (/), add (+), and subtract (-) are available for your formula, along with open and close parentheses. You can also choose to display the data as a percent, calculate as a variance, and determine the number of decimal places.
Note: You must select the Formula option on the Custom Columns tab in order to use this tab.

Columns selected in the Formula box are available in the Available Columns box to allow you to select the column more than once. You can display the values of a custom column in another column by creating formula custom columns and only selecting that specific column in the formula box. The newly created column has a new name, but the column heading can be edited to be the same as the original column. After the custom column is saved, you can select it on the Report Setup>Content tab.
Available Columns: Select a column and then click the Mover (>) to move it to the Formula box. These columns change depending on which report you are running. Depending on the report, available columns include pre-defined columns, budget version columns, user defined fields, and other custom columns.
Formula Box: The system displays columns moved from the Available Columns box. You can also enter the column name in the Formula box as long as it is enclosed in brackets. The only characters that are allowed outside the brackets are:
- Numeric characters: 0 to 9
- Decimal point: .
- Mathematical operators: +, -, /, * (See Arithmetic Operators)
- Open and close parentheses: ( ) (See Arithmetic Operators)
Options
- Formula Results As Percent: Select this check box if you want the system to automatically display the data as a percent. Otherwise, the system displays the data as a decimal number. A basic formula would be: [Actual] / [Budget].
- Calculate as Budget Variance: Select this check box to calculate budget variances. You should set up your formula so that budget data is on the left side of the equation, while actual data is on the right. This option is not available for all reports with custom columns.
To use this option to compare the period differences with actual data, set up your formula so that prior actual data is on the left side of the equation, while current actual data is on the right ([Prior Year Actual] - [Current Year Actual]). This will produce a column where a decrease in revenues will display as a negative amount and a decrease in expenditures will display as a positive amount. - Decimal Places: Select the number of decimal places. If Formula Results As Percent is selected, only two or four decimal places are allowed; otherwise, you can enter up to five decimal places.
- Division by Zero: If you create a formula where Column 1 is divided by column 2, and column 2 has rows with zero amounts, the system generates a zero amount. Using these same columns, if you create a formula that uses division and also addition (or subtraction), the value is still zero.
- When calculating percentages, create the quotient, for example, [Actual]/[Budget]. The system changes the quotient to a percent; 0.0525 is displayed as 5.25%.
- The order of operations is multiplication (*) and division (/), and then addition (+) and subtraction (-).
- If you selected rounding to a whole number (Report Setup>Options tab) for this report, the system applies rounding to all columns with amounts, including custom columns. Therefore, even if you enter a number of decimal places for a custom column, the system reports all custom column amounts or numbers rounded to a whole number.
- If the column is created as a percentage, the system does not calculate a total or subtotal for that column. The system displays 0%.
- When using a date override custom column in a formula custom column, the date override column must be included as a column in the report body to make the formula column work properly.