Example: Add Subtotals for Non-Contiguous Elements
This example illustrates how to use a
Custom
calculation element to
subtotal noncontiguous elements in a matrix report.A matrix report displays these GL accounts in the rows in the listed order for FY2022. To see
your total income, you want to subtotal the Net Income and Non-Operating Income
accounts that aren’t contiguous in the report.
- Assets
- Liabilities and Equities
- Net Income
- Expenses and Allocations
- Revenue
- Non-Operating Income
- Cost of Goods Sold
- Go toReports.The Overview page displays.
- Run the matrix report and clickEdit.
- In theElementstab, expand theCalculationselement.
- Drag theCustomcalculation element to the report rows and drop it after the last GL account.
- Right-click theCustom Calculationelement and selectFormula Assistant.
- Either search for or select these account elements on the report and clickInsert into Formula:
- Net Income
- Non-Operating Income
The accounts display in theFormulafield. - Insert thePlus (+)operator between the account elements.Example:RPT.3900_Net_Income+RPT.5100_Non_Operating_Income
- ClickOKto close the formula assistant.
- In the report builder, right-click theCustom Calculationelement and selectProperties.
- Enter the label Total Income and clickApply.
- Save and run the report.
A
Total Income
row displays below the GL accounts. You see the amounts
summed up for Net Income and Non-Operating Income accounts.