Sub topic 14
How Opportunities Feed Forecasts
This chapter assumes you know how stages map to probability and forecast category, and that you can read basic opportunity fields. It shows how Collaborative Forecasts turns opportunity data into the numbers a manager reviews.
What a forecast reads from an opportunity
A forecast is a roll-up of opportunity records. Salesforce does not store a separate forecast number for each deal. It reads fields on each opportunity and adds them up by user, role, and period.
| Opportunity field | What the forecast uses it for |
|---|---|
| Close Date | Places the deal in a forecast period (month or quarter) |
| Amount | Supplies the value that is summed |
| Forecast Category | Decides which forecast column the amount lands in |
| Owner | Decides whose forecast the deal belongs to, and which managers see it |
| Probability | Used in weighted pipeline views, not in the category totals |
Because of this, a wrong Close Date or a blank Amount gives a wrong forecast. Most forecast problems start as data problems on the opportunity.
Forecast categories and roll-up
Each stage sets a default forecast category, as covered earlier. The standard categories are Omitted, Pipeline, Best Case, Commit, and Closed. The forecast groups the amounts like this:
- Closed holds Closed Won deals.
- Commit is the amount a rep is confident of closing.
- Best Case includes Commit plus deals that could close with some luck.
- Pipeline includes all open deals that are not omitted.
Omitted deals are left out of the roll-up. Closed Lost deals are Omitted by default.
Where reps can override
A rep can change the Forecast Category on an opportunity directly, without changing the stage. This is how a rep marks a late-stage deal as Best Case instead of Commit. Forecast managers can also adjust a rep's total in the forecast grid. An adjustment changes the forecast number, but it does not change the underlying opportunities.
Checking forecast data with a query
Before a forecast call, managers often want to know how much open pipeline sits in each category. You can run this SOQL query in the Developer Console to check it.
SELECT ForecastCategoryName, COUNT(Id) deals, SUM(Amount) total
FROM Opportunity
WHERE IsClosed = false
GROUP BY ForecastCategoryNameIf a deal appears under the wrong category, look at its stage, then look for a manual override on the record.
Common errors
- Close Dates in the past. Open deals with past dates fall outside the current period or are counted in an old one. Use a validation rule or a list view to find them.
- Missing Amount. The deal is counted, but it adds zero.
- Stage and category out of step. A rep overrides the category, then later changes the stage. Check the record before assuming the stage mapping is broken.
- Hierarchy gaps. If the owner is not in the forecast hierarchy, the deal does not reach a manager's total.
- Unreviewed overrides. Manager adjustments are easy to forget, so the forecast and the pipeline report drift apart.
Exercise
A rep's deal is in the Proposal stage, which defaults to Best Case. The rep believes it will close and sets the Forecast Category to Commit on the record. The next day the rep moves the deal to Negotiation/Review. What should you check first if the manager says the forecast does not match the stage mapping?
Show answer
Check the Forecast Category on the opportunity. The rep set it manually, so it may not match the default for the current stage. Also confirm the Close Date is in the forecast period and the owner is in the forecast hierarchy.