---
schema_version: "1"
id: 1fa4e739853a53677b0c479deed8d737e4c3b0e261e600a78922e5c1f401c195
title: ReportDataCell Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_reports_reportdatacell.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_reports_reportdatacell.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e014d3d25331428ca578b2af7b9b049feab948e4e78dbdfd3269b1969c01fac7
description: Contains the data for a cell in the report, including the display label and value.Returns the localized display name of the value of a specified cell in the report.Returns the value of a specified cell of a detail row of a report.
---
# ReportDataCell Class

Contains the data for a cell in the report, including the display label and value.

## Namespace

[Reports](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_Reports.htm "The Reports namespace provides classes for accessing the same data as is available in the Salesforce Reports and Dashboards REST API.")

## ReportDataCell Methods

The following are methods for ReportDataCell. All are instance methods.

- **[getLabel()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_reports_reportdatacell.htm#apex_Reports_ReportDataCell_getLabel)**  
    Returns the localized display name of the value of a specified cell in the report.
- **[getValue()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_reports_reportdatacell.htm#apex_Reports_ReportDataCell_getValue)**  
    Returns the value of a specified cell of a detail row of a report.

### getLabel()

Returns the localized display name of the value of a specified cell in the report.

#### Syntax

public String getLabel()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### getValue()

Returns the value of a specified cell of a detail row of a report.

#### Syntax

public Object getValue()

#### Return Value

Type: Object