---
schema_version: "1"
id: a6ddada4386e8bc6811305985b80987ab5d341453b669de39a1756b54d5d9e33
title: Calculate a Line-By-Line or Lump-Sum Rule
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/spiff_rules_calculate.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.spiff_rules_calculate.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fb23706b3ba2499a6e298abe12c62fa19f46fd9ac8e1f5225ef41ae75dc258ba
description: After adding a rule to a plan page, calculate the rule and view it on the rep statement.
products:
  - Sales Cloud
  - Sales Enablement
release: "264"
---
# Calculate a Line-By-Line or Lump-Sum Rule

After adding a rule to a plan page, calculate the rule and view it on the rep statement.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available for an additional cost in: <strong>Professional</strong> Edition with Web Services API Enabled</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d42587e77">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d42587e77 ">To calculate a rule:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d42587e77 ">
              <p>A Spiff <a href="https://help.salesforce.com/s/articleView?id=sales.spiff_users_roles_and_permissions.htm&amp;release=264.0.0&amp;type=5" title="Give users the appropriate level of access so they can be successful in Salesforce Spiff, and enforce the principle of least privilege. Assign a default role to each user, or create custom roles with access to specific Spiff functionality.">user role</a> with these permissions turned on.</p>
              <ul>
                <li>Designer Configuration: Manage</li>

                <li>Statements: Recalculate</li>

              </ul>
            </td>

          </tr>
        </tbody>
      </table>

1. In Designer, click **Calculate**.
2. Select the period, plan, and rep that the rule applies to and click **Calculate**.
    
    Selecting all periods, plans, or reps can extend processing time.
    
    When the calculation process is finished, the Calculate button changes to green and shows Complete. Detailed statement calculation information appears, such as the number of statements that were successfully calculated and any statements with errors.
3. View the rule on a rep's statement.
    1. Exit Designer.
    2. On the commissions page, select the period where you applied the rule.
        
        The rule appears next to the rep where the rule was calculated.