---
schema_version: "1"
id: 12a39796c14bd219d18419dfe993a8399e30684200db8fbe338ed7d6f8c317c9
title: ReportDivisionInfo Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_reports_ReportDivisionInfo.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_reports_ReportDivisionInfo.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1382b80e9d657944c46bcbc91c763c9764d85beb99f018644a50beea70beec8c
description: Contains information about the divisions that can be used to filter a report.Returns the default division for the report.Returns a list of all possible divisions for the report.
---
# ReportDivisionInfo Class

Contains information about the divisions that can be used to filter a report.

## Namespace

Available only if your organization uses divisions to segment data and you have the “Affected by Divisions” permission. If you do not have the “Affected by Divisions” permission, your reports include records in all divisions.

[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.")

## Usage

Use to filter records in the report based on a division, like West Coast and East Coast.

## ReportDivisionInfo Methods

The following are methods for ReportDivisionInfo.

### getDefaultValue()

Returns the default division for the report.

#### Signature

public String getDefaultValue()

#### 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.")

### getValues()

Returns a list of all possible divisions for the report.

#### Signature

public List<Reports.FilterValue> getValues()

#### Return Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Reports.FilterValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_reports_filtervalue.htm#apex_class_reports_filtervalue "Contains information about a filter value, such as the display name and API name.")\>