Zum Inhalt springen
Search the hub

← All suppliers

CRM

Salesforce

CRM core: Accounts, Contacts, Opportunities — from load/skip via grain to a pilot mart (Source Scope → Mart Brief).

Templates only — grain, filters, custom fields and ownership are firm-specific.

Copy formulas into the KPI Definition Card, then adapt grain and filters.

Example

Won revenue

How much Opportunity.Amount was won in the period?

SUM(Opportunity.Amount) WHERE Opportunity.IsWon = true AND Opportunity.CloseDate IN period
Grain
Opportunity
Fields
Opportunity.Amount, Opportunity.IsWon, Opportunity.CloseDate, Opportunity.CurrencyIsoCode
Dimensions
owner, region, stage

CloseDate as period filter; watch multi-currency.

Adapt: Clarify refunds, partial wins, booking vs close date.

Example

Open pipeline amount

How much open opportunity value is in the funnel?

SUM(Opportunity.Amount) WHERE Opportunity.IsClosed = false
Grain
Opportunity
Fields
Opportunity.Amount, Opportunity.IsClosed, Opportunity.StageName
Dimensions
owner, stage, source

IsClosed = false; maintain stage allowlist.

Adapt: Optionally also filter ForecastCategory.

Weighted pipeline

What is the probability-weighted pipeline value?

SUM(Opportunity.Amount * Opportunity.Probability / 100) WHERE Opportunity.IsClosed = false
Grain
Opportunity
Fields
Opportunity.Amount, Opportunity.Probability, Opportunity.IsClosed
Dimensions
owner, stage

Probability comes from stage — check custom overrides.

Adapt: Prefer firm probability table if it exists.

Win rate

What share of closed opps is IsWon?

COUNT(Opportunity WHERE IsWon) / COUNT(Opportunity WHERE IsClosed)
Grain
Opportunity
Fields
Opportunity.IsWon, Opportunity.IsClosed, Opportunity.StageName
Dimensions
owner, source

Closed only in denominator; list withdrawn stages.

Adapt: Exclude duplicate/withdrawn from denominator.

Avg won amount

What is the typical amount of won opps?

SUM(Amount WHERE IsWon) / COUNT(IsWon)
Grain
Opportunity
Fields
Opportunity.Amount, Opportunity.IsWon
Dimensions
owner, region

Won only; normalize currency.

Adapt: Lock median vs mean.

Example

Customers with won opp

How many accounts have at least one won opp in the period?

COUNT(DISTINCT Opportunity.AccountId) WHERE Opportunity.IsWon = true AND Opportunity.CloseDate IN period
Grain
Account
Fields
Opportunity.AccountId, Opportunity.IsWon, Opportunity.CloseDate
Dimensions
region, owner

AccountId required; clarify person accounts.

Adapt: Slice new vs existing customers separately.

New accounts

How many accounts were created in the period?

COUNT(*) WHERE Account.CreatedDate IN period
Grain
Account
Fields
Account.Id, Account.CreatedDate, Account.OwnerId
Dimensions
region, owner

CreatedDate ≠ first won opp.

Adapt: Optionally separate lead-converted accounts.

Example

Won revenue by owner

How much won amount per salesperson (owner)?

SUM(Opportunity.Amount) WHERE IsWon GROUP BY Opportunity.OwnerId
Grain
Opportunity × owner
Fields
Opportunity.Amount, Opportunity.IsWon, Opportunity.OwnerId, User.Name
Dimensions
owner, region

OwnerId → User; model team roles separately.

Adapt: Quota/attainment needs custom/quota object.

Open opps per owner

How many open opportunities does each owner have?

COUNT(*) WHERE IsClosed = false GROUP BY OwnerId
Grain
Opportunity × owner
Fields
Opportunity.IsClosed, Opportunity.OwnerId, Opportunity.StageName
Dimensions
owner, stage

Workload view — not revenue.

Adapt: Optionally band by amount.

Lead conversion rate

What share of leads is IsConverted?

COUNT(Lead WHERE IsConverted) / COUNT(Lead)
Grain
Lead
Fields
Lead.IsConverted, Lead.ConvertedDate, Lead.LeadSource
Dimensions
source, owner

Use ConvertedDate for period filters.

Adapt: Exclude disqualified leads from denominator.

Sales cycle days (won)

How long is CreatedDate → CloseDate for won?

AVG(Opportunity.CloseDate - Opportunity.CreatedDate) WHERE Opportunity.IsWon = true
Grain
Opportunity
Fields
Opportunity.CreatedDate, Opportunity.CloseDate, Opportunity.IsWon
Dimensions
owner, stage

Date diff in warehouse days; clarify TZ.

Adapt: Median often more robust than AVG.

Won line total

What is the sum of OpportunityLineItem.TotalPrice for won opps?

SUM(OpportunityLineItem.TotalPrice) WHERE parent Opportunity.IsWon = true AND CloseDate IN period
Grain
OpportunityLineItem
Fields
OpportunityLineItem.TotalPrice, OpportunityLineItem.OpportunityId, Opportunity.IsWon, Opportunity.CloseDate
Dimensions
owner, region

Line vs header Amount can diverge.

Adapt: Product2 dimension for mix analysis.

ARR (custom / contract)

What is annualized recurring value?

SUM(annualized_recurring_value) WHERE contract_active_in_period
Grain
Contract / subscription line
Fields
Contract / custom ARR fields, OpportunityLineItem (if subscription)
Dimensions
owner, region

No standard ARR — check custom/CPQ/contract.

Adapt: Do not misuse Opportunity.Amount as ARR.

Formula overview

Same formulas as a table — copy into KPI cards or SQL drafts.

Label Formula Grain Fields
Won revenue SUM(Opportunity.Amount) WHERE Opportunity.IsWon = true AND Opportunity.CloseDate IN period Opportunity Opportunity.Amount, Opportunity.IsWon, Opportunity.CloseDate, Opportunity.CurrencyIsoCode
Open pipeline amount SUM(Opportunity.Amount) WHERE Opportunity.IsClosed = false Opportunity Opportunity.Amount, Opportunity.IsClosed, Opportunity.StageName
Weighted pipeline SUM(Opportunity.Amount * Opportunity.Probability / 100) WHERE Opportunity.IsClosed = false Opportunity Opportunity.Amount, Opportunity.Probability, Opportunity.IsClosed
Win rate COUNT(Opportunity WHERE IsWon) / COUNT(Opportunity WHERE IsClosed) Opportunity Opportunity.IsWon, Opportunity.IsClosed, Opportunity.StageName
Avg won amount SUM(Amount WHERE IsWon) / COUNT(IsWon) Opportunity Opportunity.Amount, Opportunity.IsWon
Customers with won opp COUNT(DISTINCT Opportunity.AccountId) WHERE Opportunity.IsWon = true AND Opportunity.CloseDate IN period Account Opportunity.AccountId, Opportunity.IsWon, Opportunity.CloseDate
New accounts COUNT(*) WHERE Account.CreatedDate IN period Account Account.Id, Account.CreatedDate, Account.OwnerId
Won revenue by owner SUM(Opportunity.Amount) WHERE IsWon GROUP BY Opportunity.OwnerId Opportunity × owner Opportunity.Amount, Opportunity.IsWon, Opportunity.OwnerId, User.Name
Open opps per owner COUNT(*) WHERE IsClosed = false GROUP BY OwnerId Opportunity × owner Opportunity.IsClosed, Opportunity.OwnerId, Opportunity.StageName
Lead conversion rate COUNT(Lead WHERE IsConverted) / COUNT(Lead) Lead Lead.IsConverted, Lead.ConvertedDate, Lead.LeadSource
Sales cycle days (won) AVG(Opportunity.CloseDate - Opportunity.CreatedDate) WHERE Opportunity.IsWon = true Opportunity Opportunity.CreatedDate, Opportunity.CloseDate, Opportunity.IsWon
Won line total SUM(OpportunityLineItem.TotalPrice) WHERE parent Opportunity.IsWon = true AND CloseDate IN period OpportunityLineItem OpportunityLineItem.TotalPrice, OpportunityLineItem.OpportunityId, Opportunity.IsWon, Opportunity.CloseDate
ARR (custom / contract) SUM(annualized_recurring_value) WHERE contract_active_in_period Contract / subscription line Contract / custom ARR fields, OpportunityLineItem (if subscription)

Tour