Skip to main content

Custom Formulas in Tables: Default, Sum, and Average Explained

Learn how the Default, Sum, and Average calculation options improve custom formula insights in your data tables.

Updated over 2 weeks ago

Customize how your data is summarized with Calculation Options in custom formula columns.

Choose between Default, Sum, and Average to control how totals are calculated in the column header, especially when your formula includes other formulas or constants.

Using the right option helps you avoid misleading totals and extract the insights you need.

Where to Find Calculation Options

To access these options, click on the header of a column containing a custom formula and navigate to the Calculation Options menu. You'll find these in table views across Productive (e.g., Budgets or Projects tabs) and reports.

This affects only the total shown in the header of that column. The values in the rows stay the same.


What Each Option Does

1) Default: Row-by-row logic (ideal for row-level consistency)

Formula example:
​Profit = @Revenue - @Cost

Use case:
You want to see profit per budget and the total profit across all budgets.

Budget

Revenue

Cost

Profit (@Revenue - @Cost)

Budget A

5,000

800

4,200

Budget B

6,400

300

6,100

Header with Default:
4,200 + 6,100 = 10,300

Why use it:
The formula applies the same way to each row and adds up cleanly at the top. You get an accurate total profit across multiple budgets.

2) Sum: Ideal when referencing other formulas

Avoids applying constants or specific logic multiple times.

Example scenario with two custom formulas:

  • F1: @Revenue - @Cost (profit per row)

  • F2: F1 - 1000€ (subtracting a flat fee)

📌 Important: When using formulas, if you do not select a unit when entering literal numbers, keep in mind that the system uses cents. To subtract 1000.00, enter 100000, not just 500.

Budget

Revenue

Cost

F1 (Profit)

F2 (Profit minus fee)

Budget A

5,000

800

4,200

3,200

Budget B

6,400

300

6,100

5,100

Header Calculations:

  • Default: (4,200 + 6,100) - 1,000 = 9,300

  • Sum: 3,200 + 5,100 = 8,300

Why use it:
You want to subtract the fixed fee per row. Sum gives you a more accurate total when the formula logic should be applied repeatedly per row.

How does this work (click to expand)?

Since the custom formula subtracts a constant (–1000), the results differ depending on the calculation method.

  • Default: Totals up F1 first, then subtracts 1000 once
    → Only 1000 is subtracted. This is why the Default is higher in this case.

  • Sum: Applies the full formula to each row
    → Every row loses 1000
    2 x 1000 = 2,000 subtracted in total

📌 Note: If your formula doesn’t include constants or references to other formulas, Default and Sum will usually return the same result. For example, @Revenue - @Cost totals cleanly in both cases because there’s no extra logic being applied per row.

3) Average: Spot trends across rows

Formula example:
​Profit Margin = (@Revenue - @Cost) / @Revenue

Budget

Revenue

Cost

Profit Margin

Budget A

10,000

7,000

30%

Budget B

15,000

10,000

33%

Header with Average:
(30% + 33%) / 2 = 31.5%

Why use it:
Use Average to get a general trend, like average margin across all budgets, even if individual revenue and cost values vary.

When to Use Each Option

Option

Best For

Default

Row-level accuracy; consistent logic per row

Sum

Accurate totals when referencing other formulas or using constants

Average

Spotting overall trends and percentages

Pro Tip

Use calculation options together with filters and groupings to get tailored summaries.


Whether you need granular numbers or high-level overviews, adjusting how totals are calculated helps you stay in control of your data.

Did this answer your question?