Example: Display Expenses with Negative Values
This example illustrates how to use a
Custom
calculation element to
display an expense account value with a negative number format.A matrix report displays these GL accounts in the rows for FY2022 for the Working Budget
version:
- Net Income
- Cost of Goods Sold
- Operating Expenses
- Revenue
The Operating Expenses amount currently displays as a positive value. You want to display the
amount as a negative value.
- Go toReports.The Overview page displays.
- Run the matrix report and clickEdit.
- In the report rows, right-click the Operating Expenses account and selectDelete.
- In theElementstab, expand theCalculationselement.
- Drag theCustomcalculation element to the report rows and drop it to the placement of Operating Expenses.
- Right-click theCustom Calculationelement and selectFormula Assistant.
- UnderAccount, expandGL Accountsand selectOperating Expenses. You can also search for the account. ClickInsert into Formula.
- In theFormulafield, after the account code syntax, enter*-1.Example:[3000]*-1
- ClickOKto close the formula assistant.
- Right-click theCustom Calculationelement and selectProperties.
- Enter the label Operating Expenses. SelectNumbersand then select a negative number format.Example: Select a format that displays negative amounts with a minus (-) sign.
- ClickApply.
- Save and rerun the report.