--- title: Import a formula into a calculated metric definition description: Directly import any formula that is stored in Microsoft Excel spreadsheets into a calculated metric definition. This import helps in quickly building your formula for performing calculations. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/environmental-social-governance/import-a-formula-into-a-cmd.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Formula building in a calculated metric definition, Configuring GRC: Metrics, GRC: Metrics, Operational Sustainability Management \(formerly Environmental, Social, and Governance\)] --- # Import a formula into a calculated metric definition Directly import any formula that is stored in Microsoft Excel spreadsheets into a calculated metric definition. This import helps in quickly building your formula for performing calculations. ## Before you begin Role required: system admin ## About this task Sometimes, you might have a formula saved in a spreadsheet that you want to include into a calculated metric definition for use in formula building. In these instances, the formula import functionality proves beneficial. It's crucial to verify that the spreadsheet includes the following columns with precisely the same column names. - Name - Frequency - Formula - Calculation level - Domain area ## Procedure 1. Navigate to **All** > **System Import Sets** > **Administration** > **Data Sources**. 2. Select Metric definition data source. 3. Select the Manage attachment icon and upload the file that contains the formula. 4. Select the **Load All Records** related link. 5. Select **Run Transform**. 6. Select **Transform**. ## Result The calculated metric definition becomes available with the formula in the list of all the metric definitions. **Parent Topic:**[Formula building in a calculated metric definition](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/environmental-social-governance/formula-building-at-metric-definition-and-entity-level.md)