ReportFactWithDetails Class

Contains the detailed fact map for the report, which represents the report’s data values.

Reports

The ReportFactWithDetails class extends the ReportFact class. A ReportFactWithDetails object is returned if includeDetails is set to true when the report is run. To access the detail values, you’ll need to cast the return value of the ReportResults.getFactMap method to a ReportFactWithDetails object.

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

  • getAggregates()

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

  • getKey()

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

  • getRows()

    Returns a list of detailed report data in the order of the detail columns that are provided by the report metadata.

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

public LIST<Reports.SummaryValue> getAggregates()

Type: List<Reports.SummaryValue>

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

public String getKey()

Type: String

Returns a list of detailed report data in the order of the detail columns that are provided by the report metadata.

public LIST<Reports.ReportDetailRow> getRows()

Type: List<Reports.ReportDetailRow>