This page provides summary of the Formula Expressions used in the Cost Pass-Through Agent (Reference).
Current Margin Rate
Definition
The weighted current gross margin percentage. Total margin divided by total revenue.
Formula
SUM(Margin) / NULLIF(SUM(InvoicePrice),0)
Current Price
Definition
The average unit price in the current period. Sum of invoice price divided by sum of quantity.
Formula
SUM(InvoicePrice) / NULLIF(SUM(Quantity),0)
Current Cost Per Unit
Definition
The average unit cost in the current period. Per‑unit cost derived by dividing the cost by quantity.
Formula
SUM(Cost) / NULLIF(SUM(Quantity),0)
Previous Margin Rate
Definition
The weighted gross margin percentage in the previous period. Previous total margin divided by previous total revenue.
Formula
SUM(Margin) / NULLIF(SUM(InvoicePrice),0)
Previous Price
Definition
The average unit price in the previous period. Sum of invoice price divided by sum of quantity for previous period.
Formula
SUM(InvoicePrice) / NULLIF(SUM(Quantity),0)
Previous Cost Per Unit
Definition
The average unit cost in the previous period. Per‑unit cost derived by dividing the cost by quantity.
Formula
SUM(Cost) / NULLIF(SUM(Quantity),0)
Cost Change Rate
Definition
The period-over-period rate of change in the average unit cost, comparing the recent period to the previous period. A positive value indicates that costs increased, a negative value indicates that costs decreased.
Formula
(s1.CurrentCostPerUnit / NULLIF(s2.PreviousCostPerUnit,0) -1)*100
Price Change Rate
Definition
The period-over-period rate of change in the average unit price, comparing the recent period to the previous period. A positive value indicates that prices increased, a negative value indicates that prices decreased.
Formula
(s1.CurrentPrice / NULLIF( s2.PreviousPrice,0)-1)*100
Cost Pass Through Variance
Definition
The difference between the period-over-period rate of change in average unit price and the rate of change in average unit cost. This metric quantifies whether price increases (or decreases) are keeping pace with cost changes between the current and previous periods. A positive value indicates that prices have increased more (or decreased less) than costs, suggesting margin improvement; a negative value indicates costs have outpaced price changes, suggesting margin compression.
Formula
(s1.CurrentPrice / NULLIF( s2.PreviousPrice,0)-1) - (s1.CurrentCostPerUnit / NULLIF(s2.PreviousCostPerUnit,0) -1)
Margin Potential
Definition
The monetary amount of margin that could be recovered in the current period if the margin rate were restored to the previous period’s margin rate (apply previous margin % to current revenue). This expresses the theoretical margin uplift tied to correcting insufficient pass‑through.
Formula
s1.CurrentRevenue * (s2.PreviousMarginRate- s1.CurrentMarginRate)
Margin Potential (pp)
Definition
The margin gap in percentage points between the previous period and the current period, i.e., the target margin‑rate delta to be recovered via pass‑through. Positive values indicate the current margin rate is below the previous margin rate by that number of percentage points.
Formula
(s2.PreviousMarginRate - s1.CurrentMarginRate)
Suggested Price
Definition
A recalculated previous period price, adjusted to reflect the change in unit cost from the previous period to the current period. This metric estimates what the previous price would be if it had changed in direct proportion to the cost change, holding the previous price as the base.
Formula
s2.PreviousPrice * (s1.CurrentCostPerUnit / NULLIF(s2.PreviousCostPerUnit,0))
Revenue Uplift
Definition
Estimates the additional revenue that could be realized in the current period if the previous period’s price were adjusted proportionally to the change in unit cost, then applied to the current quantity. The result is the difference between this hypothetical revenue and the actual current revenue, quantifying the revenue impact of not fully passing cost changes through to price.
Formula
s2.PreviousPrice * (s1.CurrentCostPerUnit / NULLIF(s2.PreviousCostPerUnit,0))*s1.CurrentQuantity - s1.CurrentRevenue