On this page
Calculate an offer amount
You need: a template in draft and the permission to edit it.
- 1In the task, add a Repeatable group “Line items” with the sub-fields
QuantityandUnit price. - 2Add the sub-field
Total priceand switch on Calculate per row (formula). - 3Enter
{Quantity} * {Unit price}as the formula. - 4Open the Calculations view and click New calculation.
- 5Choose Add up. The sentence then shows Sum and the column
Total price. - 6Name the field
Offer amountand check it with test values: 2 × €100 and 1 × €50 give €250. - 7Publish the template, as described under Check and publish.
Result: New cases calculate the offer amount on their own.
- 1Sum: the kind of calculation
- 2How the calculation reads
- 3Name of the new field
Which calculation fits?
A calculation is a switch on many fields, not a field type. Once it is on, the field is read-only and recalculates with every change. New calculation guides you in five steps. Choose the kind, fill in the sentence, set name and place, check with test values, review the effect.
| Kind | What for | Example |
|---|---|---|
| Add up | Sum, count, average, minimum or maximum of a table column | Sum of all package prices |
| Calculate | Combine fields with + − × ÷ or less … % | Net amount less Discount % |
| VAT | Amount × tax rate of the company on the document date | Offer amount × tax rate on the shipping date |
| Per row | Calculate in every row of a table from that row’s fields | Quantity × Unit price |
| Larger or smaller value | Take the larger or smaller of two values | Minimum fee or amount |
| If – then – otherwise | Pick one of two values depending on a condition | New customer: 5 %, otherwise 0 % |
| Tiers | The highest tier reached applies | 5 % discount from €30,000 |
| Date | Add days, working days or months | Start plus 10 working days |
| Text | Join text or list a column | all services, separated by commas |
| Across several cases | Calculate over child and follow-up cases | Sum of all invoices of an order |
Whatever cannot be combined, the wizard rejects before saving: net with gross, two currencies or a cycle. You pick fields from a list that names task, net or gross and currency. You can create a new input field such as Special discount % right there.
Add up can run only over certain rows: column, comparison and value. For a yes/no column you pick Yes or No instead of typing.
is Yes matches every row whose answer is Yes. is No matches every other row, including one where the column was left empty, like a box left unticked.
Conditions in the workflow differ: there an empty answer matches neither is Yes nor is No (Order, branches and conditions).
The Repeatable group supplies the rows a calculation runs over. Fields and forms describes its sub-fields. If a total is only an intermediate figure, hide it under Rules with Don't show in the task.
Maintaining all calculations in one place
The Calculations view in the editor’s switcher shows every calculated value as a card. The card names the value, shows the calculation as a sentence and gives the result with test values.
- 1New calculation
- 2Card of a calculated value
- 3Test values
Expand a card to see the worked example, Affects: and Show formula. Open in form jumps to the task with the field. Edit opens the same sentence builder as New calculation.
If a formula does not fit the building blocks, the card says Can only be edited as a formula. The Expert view (formula) then takes over. Values that only come from a dataset sit below under Taken from datasets.
The case list columns, the key figure band and target tracking sit further down in the same window. Template settings and the case list explains them.
Writing a formula yourself
In the Expert view (formula) you write the formula as in a spreadsheet. Name fields in curly braces, such as {Quantity} * {Unit price}. Write a table column as {Packages[Price]}.
Put a semicolon between a function’s arguments, for example RUNDEN({Total}; 2). The function names are German.
| Building block | Arguments | Result |
|---|---|---|
| SUMME, ANZAHL, MITTELWERT, MIN, MAX | Column · optionally a condition for the rows | Value over a column |
| WENN | Condition · then value · else value | One of two values |
| RUNDEN | Number · digits | Rounded number |
| STAFFEL | Value · tiers from … | The highest tier reached |
| WERKTAGE | Date · count · calendar | Date skipping weekends and holidays |
| MONATE | Date · count | Date whole months later or earlier |
| ARBEITSTAGE | From · to · calendar · work pattern | Working days from From to To, both included |
| JAHR | Date | The year |
| LISTE | Column · separator | The values of a column as text |
| STEUERSATZ | Customer · document date | Tax rate in percent on the document date |
| & | Text · text | Join text |
A date plus a number is a date. One date minus another gives the days in between. If the day does not exist for MONATE, the last day of the month applies: 31 Jan plus 1 month gives 28 Feb.
ARBEITSTAGE in detail
- For WERKTAGE a half-day holiday counts in full. ARBEITSTAGE counts the days people work. A half-day holiday counts 0.5.
- Days off and the calendar's holidays on the From day do not count. Without a calendar, the company calendar applies. Without a work pattern, its working days apply (Mon–Fri by default).
- You set both under Organization → Calendar → Holidays & working days. Write the work pattern as days or digits, for example Mon-Wed or 1-3 (1 is Monday).
- Example: 21 Dec 2026 to 4 Jan 2027 with Hessen and Mon-Fri gives 9 days, because 25 Dec and 1 Jan drop out.
- Subtract half a day yourself: 21 to 23 Dec 2026 are 3 days,
ARBEITSTAGE({From}; {To}) - 0.5gives 2.5.
- 1The sentence: how the calculation reads
- 2The formula: table and column in square brackets
{Line items[Total price]}.The field shows Not computable with the reason, never zero. This happens if To is before From, the calendar is missing or the work pattern is unreadable. The formula cannot read a person's calendar yet. Name the calendar.
Tax and holidays as of the document date
You calculate VAT with {Offer amount} * STEUERSATZ({Customer}; {Sent on}) / 100. For a customer field of type company, its tax code applies. You can also name a tax code such as Inland.
The rate on the document date applies. Without a document date, today's rate applies. A company without a tax code gives Not computable. If the customer sits in a dataset, copy the tax code into a field with From dataset. Name that field in the formula.
| What | Where you maintain it | What applies |
|---|---|---|
| Tax codes | Organization → Taxes → Tax codes, with the Manage taxes permission | Preset: Inland 19%, Inland ermäßigt 7%, EU-Unternehmen 0%, Drittland 0%. New rates apply from today. |
| Holidays | Organization → Calendar → Holidays & working days | Nationwide and per federal state, 2024 to 2035. Your own holidays apply from the day they are added, also as half days. |
| Completing a task | — | The case recalculates first and freezes the state of that day. |
A formula that names a tax code no longer finds it after it is renamed. Invoices can then come out with the wrong tax. You add regional holidays yourself, see Team calendar.
Start a case from every table row
If a task captures several quotes in a table, every row can become a case. Set this up on the task whose completion starts the cases. It sits on the After completion tab under New cases per row. Pick the group and the template there.
Bricksta immediately suggests which value goes into which field, and saves. A target must be a field that applies to the whole case. Once a row has its own case, it is locked in the task. You make changes in the new case.
- 1The sentence: group and template of the new cases
- 2Carry over values: target per field
- Carry over values: Pick the target per field or do not carry over. Only fields of the same type fit.
- Only for certain rows: A case only for rows in which a condition holds, say Accepted is Yes.
- Bundle: Rows with the same value in a column, say Project, become ONE case.
- PDF of the row: Each new case receives its row’s offer in a file field.
- Responsible: Who is responsible for the new cases. Without a choice, it is whoever completes the task.
Whether the new cases start right away follows their template's auto-start in its last published version. Without it they are still created and stay drafts.
Bundling, amendments and carried-over tables
- When bundling, you choose per column how values combine. Options: first row, sum, list, earliest or latest date.
- If the customer accepts more in a second round, a case with only the new rows is created. Its title ends in (Amendment 1).
- A related table, such as milestones per quote, comes along. A row that matches no bundle says: not carried into any new case.
- More than 50 rows in the group create no case, not even for the first 50. This also applies to an amendment.
- The 50 count every row of the group, including those from earlier rounds. The request then shows: not created: more than 50 cards. Duplicating the template does not copy the rule.
Which values does a field show from a case or system?
| Field | What it shows |
|---|---|
| Case field | Case type, title, priority, due date or creation date |
| Reference | The value of a field from an earlier task, also a column of any group. You set required and visibility on the source field. |
| Live lookup | A record from a connected system such as Jira or HubSpot |
| Live value | One attribute of the live lookup, say its status. More in Integration fields. |
If something doesn't work
| Symptom | Cause | What you do |
|---|---|---|
| Not computable: … | To is before From, the calendar is missing or does not reach that year, or a company has no tax code. | Read the reason after the colon. Correct the date, calendar or tax code. |
| Can only be edited as a formula. | The formula does not fit the building blocks of the sentence builder. | Open the Expert view (formula) and edit it there. |
| This calculation refers to itself in a cycle: … | Two calculations depend on each other. | Remove the reference on one side of the cycle. |
| not carried into any new case | The row matches no bundle. | Check the column used for bundling and the condition for the row. |
What's next?
- Template settings and the case list: defaults, columns, key figure band and targets.
- Check and publish: test the calculations and release them.
- Deadlines and time in templates: set deadlines in working days.