Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ReportFactWithSummaries Class

Contains the fact map for the report, which represents the report’s data values, and includes summarized fields.

Namespace

Reports

Usage

The ReportFactWithSummaries class extends the ReportFact class. A ReportFactWithSummaries object is returned if includeDetails is set to false when the report is run.

ReportFactWithSummaries Methods

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

getAggregates()

Returns summary-level data for a report, including the record count.

Syntax

public LIST<Reports.SummaryValue> getAggregates()

Return Value

Type: List<Reports.SummaryValue>

getKey()

Returns the unique identifier for a row or column grouping. This identifier can be used to index specific data values within each grouping.

Syntax

public String getKey()

Return Value

Type: String

toString()

Returns a string.

Signature

public String toString()

Return Value

Type: String