# What is the purpose of setting up Forecast Quotas in Sales Cloud collaborative forecasting?

**Topic:** Sales Cloud · **Difficulty:** Medium · **Tags:** Sales Cloud, Forecast Quotas, Attainment

Read it on the site: https://www.forcechallenges.com/interview-questions/what-is-the-purpose-of-setting-up-forecast-quotas-in-sales-cloud-collaborative-forecasting

## Answer

**Basics:** A forecast number is meaningless without a goal. Quotas give each rep and manager a target for a month or quarter. The Forecasts tab then displays quota, closed amount, and quota attainment percentage beside forecast categories (Commit, Best Case, Closed).

**How it works:**
1. Setup > Forecasts Settings: enable Collaborative Forecasts, choose forecast types (Opportunity Revenue, Opportunity Splits, Product Family, and so on), and the period type (month or quarter).
2. Enable quotas (Show quotas).
3. Enter quotas on the Forecasts tab, or load them via Data Loader/Workbench/API into the ForecastingQuota object. They can also be set by role-hierarchy or territory forecast.
4. Reps and managers see quota and attainment in the forecast table.

**Advanced / deep dive:** Quota attainment is calculated from closed won amount versus the quota for the same forecast type and period. A manager's quota is entered separately and is not automatically the sum of the subordinates' quotas, so teams must keep them consistent. Quotas support currency and multiple forecast types (revenue vs quantity), and they are per period, so a yearly quota must be split into period quotas. ForecastingQuota fields include QuotaAmount, StartDate, QuotaOwnerId, ForecastingTypeId and IsQuantity. Quotas sit alongside forecast adjustments and Pipeline Inspection; for complex quota crediting, consider Revenue Cloud / Sales Planning (formerly Quota Planning in Sales Cloud-adjacent products) or CRM Analytics. Territory forecasts can carry their own quotas by territory.

**Code / config example:**
```apex
// Load quotas in bulk (one DML). Verify required fields for your org
List<ForecastingQuota> quotas = new List<ForecastingQuota>();
for (User u : [SELECT Id FROM User WHERE UserRole.Name = 'Sales Rep' AND IsActive = true]) {
    quotas.add(new ForecastingQuota(
        QuotaOwnerId = u.Id,
        ForecastingTypeId = forecastTypeId,
        StartDate = Date.newInstance(2026, 1, 1),
        QuotaAmount = 250000));
}
insert quotas;
```

**Hidden gotchas & must-remember points:**
- Quota rows exist per owner, per period and per forecast type; missing a type means no attainment.
- Manager quotas do not auto-sum.
- Quotas are separate from opportunity amounts; changing them does not change forecasts, only attainment.
- Inactive or unforecastable users cannot hold quotas.
- Quota changes can be audited only if you track them; there is no standard history.
- Mid-period changes do not auto-prorate.

**Best practice:** Load quotas through a controlled bulk process each period and reconcile manager quotas against team totals.

---
Source: ForceChallenges · last updated 2026-11-02
