An administrator is building a custom report on Opportunities grouped by Region (Primary Grouping) and Sales Rep (Secondary Grouping). The business requires two specific metrics in the report layout: first, calculating the exact duration in days between the Created Date and Close Date for each individual opportunity record; second, calculating the percentage contribution of each Sales Rep's total won amount compared to their overall Region's total won amount. Which combination of report formula features should the administrator implement?
- Create a Row-Level Formula to calculate the record duration in days, and a Summary Formula utilizing the PARENTGROUPVAL function for the regional percentage contribution.Answer
- BCreate a Summary Formula to calculate the record duration in days, and a Row-Level Formula utilizing the PARENTGROUPVAL function for the regional percentage contribution.
- CCreate a Roll-Up Summary field on the parent object for the record duration calculation, and a Summary Formula utilizing PREVGROUPVAL for the percentage contribution.
- DCreate a single Row-Level Formula to calculate both the record duration and the regional percentage contribution by referencing parent summary totals.
Answer
The correct approach is to create a Row-Level Formula to calculate the duration in days for each individual opportunity record, and a Summary Formula using the PARENTGROUPVAL function to compute the percentage contribution of each Sales Rep relative to their parent Region total.
Row-Level Formulas operate on individual record rows to compute values such as elapsed time between two date fields on a record. In contrast, calculating the ratio of a subgroup total to its enclosing parent group total requires a Summary Formula using the PARENTGROUPVAL function, which specifically retrieves summary values from specified parent grouping levels.
Step-by-Step Solution
Key Concept
Distinction between Row-Level Formulas (individual record evaluations) and Summary Formulas with PARENTGROUPVAL (group-level aggregations).
Estimated Time:2m 0s