Media monitoring

Formulas

Calculate a metric from other metrics and channel data

View as Markdown

A formula is a custom metric whose value aclipp calculates from the clipping's other data. Nobody enters it by hand, and it updates whenever that data changes.

Write a formula#

Type @ in the formula editor to insert a reference:

  • Metrics: Number, Slider, Dropdown or other Formula metrics. A dropdown contributes its numeric value, not its option text.
  • Channel fields: built-in data such as Media Value, Views, Likes, Reach or Print Run. The editor only offers fields that every channel assigned to the formula has.
  • Functions: see the table below.

Operators are +, -, *, /, % (remainder), ^ (power) and ( ) for grouping.

FunctionDoesExample
round()Rounds to the nearest integerround(3.7) → 4
roundTo()Rounds to N decimal placesroundTo(3.756, 2) → 3.76
floor()Rounds downfloor(3.7) → 3
ceil()Rounds upceil(3.2) → 4
abs()Absolute valueabs(-5) → 5
sqrt()Square rootsqrt(16) → 4
min()Smaller of two valuesmin(3, 7) → 3
max()Larger of two valuesmax(3, 7) → 7

Examples#

FormulaResult
@Media Value * 2Double the media value
round(@Views / 1000)Views in thousands, rounded
(@Sentiment Score + @Visibility Score) / 2Average of two metrics
roundTo(@Media Value / @Print Run, 2)Cost per copy, two decimals
@Sentiment * @Media ValueMedia value weighted by a sentiment dropdown (Positive 1, Neutral 0, Negative -1)

Channel compatibility#

Every field a formula uses must exist on every channel the formula is assigned to. A formula that uses Views and is assigned to YouTube and Print shows an error, because print clippings have no views. Remove channels from the formula, or use only fields all of them share, such as Media Value.