Create Calculations in Charts
- List the account codes that you want to use in the calculations.
- A personal perspective or edit access to a shared perspective.
- Security:Edit Dashboardsand 1 of these permissions:
- Admin Access
- Model includes: sheets, accounts, dimensions, and formulas
- Edit Company Dashboards
Calculations for charts use expressions that you can create for reuse across perspectives and users. You can add a calculation to charts as a data series.
You store the calculations in the
Dashboard Metrics
of the Accounts
tab, which you can access when the dashboard is in edit mode. You can create subfolders when your instance has many calculations to simplify the browsing process. You can't move the calculation to different folders after you create the calculations.
Before you change or delete existing calculations, keep in mind that others might be using the calculation in their personal and shared charts.
- SelectDashboardsfrom the main menu.
- Open a perspective that you can edit.
- From the toolbar, clickEdit.
- From the left panel, click theAccountsicon.
- From theElementstab, clickDashboard Metrics.
- (Optional) Create a subfolder for your calculation.
- Hover over the name of the existing folder until theRelated Actionsicon displays (3 vertical dots).
- Click theRelated Actionsicon and selectAdd Folder.
- Enter a name for the folder and clickSave.
- Hover over the folder name where you want to store the calculation until theRelated Actionsicon displays.
- Click theRelated Actionsicon and selectAdd Calculated Metric.
- As you complete the fields of theSettingstab, consider:
Option Description NameEnter a unique name for the calculation. You can use letters, numbers, and underscores. You can't use spaces or other special characters.CodeEnter a unique code for the calculation.Display AsSelect the format of the calculated value. The default isCurrency.Decimal PlacesEnter the number of places that you want after the decimal point. The default is 0. - To create the calculation, click theExpressiontab.
- In theExpressionfield, enter an expression.
- Click theDimensions/Attributestab.In this tab, you can enable or disable dimensions and attributes for chart filters and breakdown. These capabilities are available when the charts that use the calculation are in edit mode. You can also enable or disable drill-down by dimensions and attributes. The drill-down capabilities are available when the charts that use the calculation are in view mode.
- (Optional) From theDrill Byprompt, select an option:
Option Description AutoDefault. Enable filtering and breakdown by levels only. This option automatically enables drill-down by level in view mode.CustomEnable and disable specific dimensions and attributes for filtering and breakdown. With this option, you can also enable or disable drill-down for dimensions and attributes that you make available.AllEnable all dimensions and attributes for filters and breakdown. This option automatically enables drill-down for all dimensions and attributes. - ClickSave.
When you create charts, you can drag the calculations into the chart as a data series.