Skip to main content
Situation:

 

User currently must use a separate Excel file to calculate the weight of Opportunities.

 

Objective:

 

Have the Total Weight calculated automatically in the Opportunity header.

 

What’s done so far:

 

Products have a Gross Weight fields (field name: Gross_weight_per_unit__c, date type: number).

 

A formula in the Opportunity Product object called “Weight_KG__c” will multiply the Gross Weight from Products with the Quantity.

 

Weight_KG__c (Formula): Quantity * PricebookEntry.Product2.Gross_weight_per_unit__c

 

The “Weight_KG__c” formula appear in the Opportunity Product’s Related List, which is displayed on the Opportunity’s layout. Yay! :) (see screenshot bellow)

 

Problem encountered:

 

From the Opportunity object, I have tried to create a Roll-Up Summary for the “Weight_KG__c” field. Different fields are available to select from the drop-down menu “Field to Aggregate”, but “Weight_KG__c” is not one of them. I'm uncertain of why it's not available.

 

What parameters should I check to make this field available to be selected?

 

Or, what other options would be available to create an automatic sum of this data field?

 

Thanks! 

 

P.S.: I'm adding here some screenshots, I hope it can help in illustrating what I'm experiencing:

 

In the Product object, the Gross Weight field (Gross_weight_per_unit__c)

 

Formula field not available to select in the Field to Aggregate

 

In the Opportunity Product object, the Weight (KG) field (Weight_KG__c) formula.

 

For Weight formula, in the Opportunity Product object.

 

The Weight (KG) field (Weight_KG__c) formula works in the Opportunity layout, it's pretty neat!

 

The last step would be to create an automatic SUM of all "Weight (KG)". This sum shoud appear in the Opportunity header, next to "Close Date".

 

The formula works, it's pretty nice!

 

The "Weight (KG)" formula (Weight_KG__c) is not listed in the Field to Aggregate drop-down menu.

 

The weight field is not accessible from the drop down menu!

 

 
4 answers
  1. Eric Praud (Activ8 Solar Energies) Forum Ambassador
    Jun 5, 2020, 2:33 PM
0/9000