Loading

How to Use PARENTGROUPVAL in a Salesforce Summary Report Formula to Compare Group Values

Data pubblicazione: Oct 8, 2026
Descrizione

You can use the function PARENTGROUPVAL in a Salesforce summary report when you want to compare a child grouping to its parent grouping. For example, you can show each Opportunity Stage as a percentage of its parent Account total.

Risoluzione

This article explains how to use the PARENTGROUPVAL function in a Salesforce summary report formula to calculate the percentage of a child grouping relative to its parent grouping. Follow the steps below to build the summary formula column.

Create the Summary Report

  1. Navigate to the Reports tab and click the New Report button.
  2. Choose a Report Type and click Continue.
  3. Add a column to the report.
  4. Under Group Rows, select a field for your Parent Group and another field as your Subgroup.

Add the Summary Formula

  1. From the Columns pane in the overview panel, click the Down arrow (More Actions) icon, then select Add Summary Formula.
  2. Fill in the details described below.
  • Column Name: Enter the column header as you want it to appear on your report.
  • Formula Output Type: Pick the type of value the formula returns.
  • Decimal Points: Enter 0, or select the number of decimal places to display.
  • Display Tab: Select Specific Groups.
  • Row Group: Select Amount to calculate the percentage according to rows.
  • General: Build your formula using the pattern AMOUNT:SUM / PARENTGROUPVAL(AMOUNT:SUM, grouping_level).
  • Click Validate to check that your formula is correct.

Apply and Run the Report

  1. Click Apply.
  2. Click Save and Run.

Video Walkthrough

The following video demonstrates how to configure a summary formula using the PARENTGROUPVAL function to calculate the percentage of a child grouping relative to its parent grouping in a Salesforce summary report




Numero articolo Knowledge

000393182

 
Caricamento
Salesforce Help | Article