---
schema_version: "1"
id: 623631675e27931f85ac0fa79adebb6977c25061a988b54294542e5893ad050e
title: ScorecardMetric
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_scorecardmetric.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_scorecardmetric.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 43d4c7b507059ed97f8a6ac617d8e7f2aeaa329097d7cf011594c210aaf0deec
description: Stores information about a Salesforce report that is run and summarized to get a single value. The stored value is added as a metric to the related Scorecard object. This object is available in API version 40.0 and later.
---
# ScorecardMetric

Stores information about a Salesforce report that is run and summarized to get a single value. The stored value is added as a metric to the related Scorecard object. This object is available in API version 40.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| Category | 
Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Sort, Update

Description

Groups metrics together. It comes with a predefined set of dropdown list entries and can be extended to address vendor’s needs each category is user-generated and can be localized through translation workbench.

Possible values are:

- Adoption
- Field Enablement
- Marketing
- Sales
- Support

The default value is 'Sales'.



 |
| Description | 

Type

textarea

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The description of the metric that appears on a scorecard.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the metric that appears on a scorecard.



 |
| ReportId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the report that is run and summarized to return a single value.

This is a relationship field.

Relationship Name

Report

Relationship Type

Lookup

Refers To

Report



 |
| ScorecardId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of the scorecard that the metric is related to. Several metrics can be tied to a single scorecard.

This is a relationship field.

Relationship Name

Scorecard

Relationship Type

Lookup

Refers To

Scorecard



 |