Edit a calculated metric definition formula
Edit a formula in a calculated metric definition to update the calculation logic or apply changes to historical data.
Before you begin
Roles required: sn_risk.user
Procedure
-
Navigate to All > Risk Management > Risk Workspace.
-
Select the List icon ([Omitted image "list-icon-risk-workspace.png"] Alt text:).
-
In the Lists tab, navigate to Metrics > Calculated metric definitions.
-
Open a calculated metric definition record.
-
Select Formula > Formula builder from the navigation panel.
-
Select Edit.
-
Make the required changes to the formula in the text field.
-
Select Save formula.
-
In the Apply changes and save dialog box, apply the changes to historical data and future data.
-
Select the Apply to historical data as well check box.
-
In the Apply changes from field, select a time period from the list.
All data records from the selected period onward will be reset to Pending and recalculated using the updated formula.
-
-
Enter any relevant notes in the Type your comments here field.
-
Select Save.
Result
The formula is saved as a new version. The new version is listed in the Versions related list on the calculated metric definition.
Parent Topic:Formula building in a calculated metric definition
---
title: Edit a calculated metric definition formula
description: Edit a formula in a calculated metric definition to update the calculation logic or apply changes to historical data.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/governance-risk-compliance/grc-risk-management-workspace/edit-a-calculated-metric-definition-formula-irm.html
release: brazil
product: GRC: Risk Management Workspace
classification: grc-risk-management-workspace
topic_type: task
last_updated: "2026-11-06"
reading_time_minutes: 1
breadcrumb: [Formula building in a calculated metric definition, Configuring metrics, GRC: Metrics in Integrated Risk Management, Risk Management, Governance, Risk, and Compliance]
---
# Edit a calculated metric definition formula
Edit a formula in a calculated metric definition to update the calculation logic or apply changes to historical data.
## Before you begin
Roles required: sn\_risk.user
## Procedure
1. Navigate to **All** > **Risk Management** > **Risk Workspace**.
2. Select the List icon \(\[Omitted image "list-icon-risk-workspace.png"\] Alt text:\).
3. In the **Lists** tab, navigate to **Metrics** > **Calculated metric definitions**.
4. Open a calculated metric definition record.
5. Select **Formula** > **Formula builder** from the navigation panel.
6. Select **Edit**.
7. Make the required changes to the formula in the text field.
8. Select **Save formula**.
9. In the Apply changes and save dialog box, apply the changes to historical data and future data.
1. Select the **Apply to historical data as well** check box.
2. In the **Apply changes from** field, select a time period from the list.
All data records from the selected period onward will be reset to Pending and recalculated using the updated formula.
10. Enter any relevant notes in the **Type your comments here** field.
11. Select **Save**.
## Result
The formula is saved as a new version. The new version is listed in the **Versions** related list on the calculated metric definition.
**Parent Topic:**[Formula building in a calculated metric definition](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/governance-risk-compliance/grc-risk-management-workspace/formula-building-at-metric-definition-and-entity-level-irm.md)
This file has no frontmatter.