All components

Commerce revenue composition

Keep recognized service and product revenue distinct from merchandise activity.

How it works

Commerce revenue composition (6)
  1. Negative Inputs

    ((Higher of (Volume × -1) and 0 + Higher of (Services × -1) and 0) + Higher of (Products × -1) and 0)

  2. Product Share

    if (Revenue > 0), then (Products ÷ if (Revenue > 0), then Revenue, otherwise 1), otherwise 0

    Model function · Div currency percent

    Argument values
    Denominator
    if (Revenue > 0), then Revenue, otherwise 1
    Numerator
    Products
  3. Revenue

    Revenue

  4. Revenue Available

    if (Revenue > 0), then 1, otherwise 0

  5. Service Yield

    if (Volume > 0), then (Services ÷ if (Volume > 0), then Volume, otherwise 1), otherwise 0

    Model function · Div currency percent

    Argument values
    Denominator
    if (Volume > 0), then Volume, otherwise 1
    Numerator
    Services
  6. Volume Available

    if (Volume > 0), then 1, otherwise 0

Calculation steps (3)
  1. Revenue

    (Services + Products)

  2. (Volume > 0)

    (Volume > 0)

    Uses
  3. (Revenue > 0)

    (Revenue > 0)

Conventions (5)
  • Volume, recognized service revenue and recognized product sales share one period, perimeter, currency and scale.
  • Product sales are already recognized revenue; do not infer their amount from merchandise volume or add volume to revenue.
  • Service revenue divided by volume is a blended realized ratio, not a contractual commission or margin.
  • Shipping gross/net presentation, advertising, subscriptions, geography and currency can change the ratio.
  • Ratios are fractional percentages. A nonpositive denominator yields zero with an unavailable flag.

Inputs and outputs

Inputs (3)
Inputs
NameUnitApplies to
ProductsDollarsSingle value
ServicesDollarsSingle value
VolumeDollarsSingle value
Outputs (6)
Outputs
NameUnitApplies to
Negative InputsDollarsSingle value
Product SharePercentSingle value
RevenueDollarsSingle value
Revenue AvailableFlagSingle value
Service YieldPercentSingle value
Volume AvailableFlagSingle value

Libraries