Skip to main content
オンラインの Trailblazer Community は現在、閲覧専用となっています。まもなく Trailblazer Community は Slack に移行し、新たな展開を迎えます。FAQ を参照 | サポートを求める

Create a Roll-Up Summary Field

Create a Summary Field

Next, you create a field on the Travel Approval object that automatically sums up the total amount of expenses from the related Expense Items. Salesforce has a field called a roll-up summary field that provides this functionality.

  1. From the Travel Approval object, select Fields & Relationships.
  2. Click New.
  3. Select the Roll-Up Summary data type.
  4. Click Next.
  5. Enter these values for the field details:
    • Field Label: Total Expenses
    • Field Name: Total_Expenses (This automatically gets set when you tab out of the Field Label field.)

Step 2 of New Custom Field for the Travel Approval object

  1. Click Next.
  2. Configure the roll-up calculation.
    • Summarized Object: Expense Items
    • Roll-Up Type: SUM
    • Field to Aggregate: Amount
    • Filter Criteria: All records should be included in the calculation

Step 3 of the New Custom Field for the Travel Approval object

  1. Click Next, Next, and Save.

Nice job! You now have a new field on your Travel Approval object that automatically sums up your expenses. It has also been automatically added to your page layout. On to the next step, where you learn about formula fields.

Salesforce ヘルプで Trailhead のフィードバックを共有してください。

Trailhead についての感想をお聞かせください。[Salesforce ヘルプ] サイトから新しいフィードバックフォームにいつでもアクセスできるようになりました。

詳細はこちら フィードバックの共有に進む