Create Calculation Expressions
- Create a custom composite report.
- Security: These domains in the System functional area:
- Custom Report Creation
- Manage: All Custom Reports
You can configure formulas and nest up to 5 functions for calculation cells, columns, or rows on your composite reports.
- Access theEdit Custom Reporttask.
- Access theRows,Columns, orCellstabs and:
- Create a calculation row, column, or cell.
- Select your calculation row, column, or cell.
- Enter an expression in theCalculationsection.You can:
- Enter the cells, columns, or rows for the expression. Example:[R2C2]-[R2C3].
- Select the function to apply to the cells, columns, or rows. Example:Difference([R2C2],[R2C3]).
As you complete the task, consider:Option Description DifferenceSelect to subtract the second value from the first value.Example:Difference([R2],[R3]),Difference([C2],[C3]),Difference([R2C2],[R2C3]).DivideSelect to divide the first value by the second value. The second value supports cells when the first value is a column.Example:Divide([C4],[R4C2]),Divide([R2C4],[R4C2]).You can selectAbsRef(Absolute Reference) in the denominator to maintain the original cell reference regardless of its duplicated location on the report. Absolute Reference doesn't support nesting calculations and doesn’t convert a negative value to a positive value.Example:Divide([R1C2],AbsRef([R2C2])),[R2C3]/AbsRef([R2C4]).Workday defaultsReturn Zero on Errorto true unless you specifically set it to false.MultiplySelect to multiply 2 values.Example:Multiply([C2],[C3]),Multiply([C2],1.33),Multiply([R3C2],[R3C3]).PercentIncreaseSelect to return the difference in percentage of the first value from the second value.Example:PercentIncrease([R5],[R6]), where Workday calculates the formula as ([R6]-[R5])/[R5].PercentIncrease([R1C2],[R1C3]), where Workday calculates the formula as ([R1C3]-[R1C2])/[R1C2].To convert the denominator value to a positive number automatically, adduse_abs_valafter the column or row reference. Example:PercentIncrease([C3],[C2],use_abs_val.Workday defaultsReturn Zero on Errorto true unless you specifically set it to false.PercentRemainingSelect to return the percentage remaining after dividing the second value by the first value.Example:PercentRemaining([R5],[R6]), where Workday calculates the formula as ([R6]-[R5])/[R6].PercentRemaining([R1C2],[R1C3]), where Workday calculates the formula as ([R1C3]-[R1C2])/[R1C3].To convert the denominator value to a positive number automatically, adduse_abs_valafter the column or row reference. Example:PercentRemaining([C3],[C2],use_abs_val.Workday defaultsReturn Zero on Errorto true unless you specifically set it to false.SumSelect to return the sum of multiple values.Example:Sum([R1],[R2],[R3],[R4]),Sum([C2],[C3],[C4],[C5])/[C6],Sum([R1C2],[R1C3],[R1C4]).SumRange(Not supported for cells.) Select to return the sum of all columns or rows, from the first column or row to the last column or row.Example:SumRange([R5],[R9]),SumRange([C2],[C15]).Workday displays valid options for your expressions when you enter a left square bracket,[, in the expression field.