A calculated column creates a new output column and calculates its values at runtime based on the result of an expression. For example, if you are creating a query on employees' Job Information and you want to report the duration of their employment, you can create a calculated column, Job Tenure, which would show the years between the current date and the employee hire date.
To create a calculated column, complete the following steps.
- Navigate to the Query Designer.
- Under the Data section, select the Create Calculated Column icon.
The Column Overview dialog box appears.
- Change to the Calculated Columns tab.
- Choose the Add Calculated Column link.
The Calculated Columns dialog box appears.
- Enter a column ID and enter the name of the calculated column in Description.
- In the Edit Formula section, create an expression using the available Functions, Conditions, and Operators, and choose Format to verify whether the expression is correct.
This will be described in more detail with examples in the following section.
- Choose OK to add the calculated column to the list of columns in your report.
The column appears in the Calculated Columns section of the Column Overview dialog box.
- If you do NOT want to display the calculated column in the query output, turn off the Show in Grid switch.
- Choose OK.






