Skip to main content
These patterns use supported formula syntax. Replace the example Variable and dimension names with names from your model.

Gross profit

Gross margin

Variance

Variance percentage

Previous-period change

At monthly grain, this compares the current month with the previous month.

Total across a dimension

Share of total

Because the plain Revenue follows the current segment, this produces each department’s share when calculated by Department.

Average across selected segments

Trailing 12-month revenue

The range includes the current month and the preceding 11 months.

Forecast payroll

Assign the formula to Forecast when Actuals should continue to reflect imported data.

Conditional assumption

Calendar-year end

The same result can also be expressed as:
Before saving a pattern, confirm its target Variable, scope, Date grain, formula range, and Scenario.