{"ref":{"kind":"component","id":"corporate_contribution_period","key":"sha256:ba896520a92fe1c1374293d5de188cf6688822092d307fdf68c4fb84dbc98215"},"label":"Operating contribution","description":"Compute contribution from nonoverlapping expense amounts without inferring allocations.","inputs":[{"label":"Depreciation","name":"depreciation","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Expenses","name":"expenses","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Revenue","name":"revenue","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Contribution","name":"contribution","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Contribution Margin","name":"contribution_margin","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Negative Inputs","name":"negative_inputs","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Revenue Available","name":"revenue_available","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Total Costs","name":"total_costs","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[],"libraries":["corporate_contribution"],"notes":{"conventions":["Revenue, direct expenses and depreciation share one period, perimeter, currency and scale.","Expense inputs are positive magnitudes. Expenses exclude the separately supplied depreciation and amortization.","Expenses already include all costs assigned to the segment, including any embedded funding or provision costs.","Contribution excludes unallocated corporate costs. It is neither group operating income nor cash flow.","The caller owns classification; do not deduct depreciation, funding or netted revenue costs twice.","Contribution margin is fractional. Nonpositive revenue yields zero with revenue_available set to zero."]},"calculation":{"nodes":[{"id":"input-depreciation","label":"Depreciation","kind":"input"},{"id":"input-expenses","label":"Expenses","kind":"input"},{"id":"input-revenue","label":"Revenue","kind":"input"},{"id":"step-total_costs","label":"Total Costs","kind":"step","rule":"(Expenses + Depreciation)","sources":[{"node":"input-expenses"},{"node":"input-depreciation"}]},{"id":"step-value0","label":"(Revenue > 0)","kind":"step","rule":"(Revenue > 0)","sources":[{"node":"input-revenue"}]},{"id":"output-negative_inputs","kind":"output","label":"Negative Inputs","rule":"((Higher of (Revenue × -1) and 0 + Higher of (Expenses × -1) and 0) + Higher of (Depreciation × -1) and 0)","sources":[{"node":"input-revenue"},{"node":"input-expenses"},{"node":"input-depreciation"}]},{"id":"step-contribution","label":"Contribution","kind":"step","rule":"(Revenue − Total Costs)","sources":[{"node":"input-revenue"},{"node":"step-total_costs"}]},{"id":"output-total_costs","kind":"output","label":"Total Costs","rule":"Total Costs","sources":[{"node":"step-total_costs"}]},{"id":"output-revenue_available","kind":"output","label":"Revenue Available","rule":"if (Revenue > 0), then 1, otherwise 0","sources":[{"node":"step-value0"}]},{"id":"output-contribution","kind":"output","label":"Contribution","rule":"Contribution","sources":[{"node":"step-contribution"}]},{"id":"output-contribution_margin","kind":"output","label":"Contribution Margin","rule":"if (Revenue > 0), then (Contribution ÷ if (Revenue > 0), then Revenue, otherwise 1), otherwise 0","sources":[{"node":"step-value0"},{"node":"input-revenue"},{"node":"step-contribution"}],"calls":[{"function":"div_currency_percent","label":"Div currency percent","bindings":[{"name":"denominator","label":"Denominator","value":"if (Revenue > 0), then Revenue, otherwise 1"},{"name":"numerator","label":"Numerator","value":"Contribution"}],"rule":"(Contribution ÷ if (Revenue > 0), then Revenue, otherwise 1)"}]}],"topics":[{"label":"Operating contribution","results":["output-contribution","output-contribution_margin","output-negative_inputs","output-revenue_available","output-total_costs"]}]},"usedBy":[]}
