packages/twenty-docs/user-guide/views-pipelines/how-tos/show-expected-amount-in-pipeline.mdx
The Expected Amount is a calculated value: Amount × Probability. This helps you forecast revenue by weighting deals based on how likely they are to close.
<Tip> This is an example of creating [Formula Fields](/user-guide/workflows/how-tos/crm-automations/formula-fields) using workflows. </Tip>This guide walks you through setting up the custom fields and workflows needed to calculate and display expected amounts in your pipeline.
You need two custom fields on the Opportunities object.
If you don't want users manually editing these calculated fields:
This ensures only the workflows can update these values.
This workflow automatically sets the Probability when an opportunity moves to a new stage.
Create a branch for each stage with its probability:
| Stage | Probability |
|---|---|
| New | 10% |
| Qualified | 25% |
| Meeting | 40% |
| Proposal | 60% |
| Negotiation | 80% |
| Closed Won | 100% |
| Closed Lost | 0% |
For each stage:
After the branches rejoin:
This workflow updates the Expected Amount when the deal Amount changes.
Now show the Expected Amount totals in your Kanban view:
Each column now shows the total weighted pipeline value for that stage.
| Component | Purpose |
|---|---|
| Probability field | Stores the stage-based win probability |
| Expected Amount field | Stores Amount × Probability |
| Workflow #1 | Updates Probability when Stage changes, then recalculates Expected Amount |
| Workflow #2 | Recalculates Expected Amount when Amount changes |
| Aggregation | Displays Sum of Expected Amount per stage |