Breakdown Questions

Table layout with number inputs for each row, with automatic totals.

Usage

  • Creates a table with number inputs for collecting numeric data across multiple rows
  • Add BREAKDOWN after the options to create a breakdown question
  • Each option becomes a row with a number input field
  • Add TOTAL: label to show an automatic sum at the bottom
  • Option-level keywords use the - dash prefix (e.g., - VARIABLE:, - SUBTRACT)

Example

Q: How many hours per week do you spend on each activity?
- Work
- Exercise
- Hobbies
- Sleep
TOTAL: **Total hours**
BREAKDOWN

How many hours per week do you spend on each activity?

Work

Exercise

Hobbies

Sleep

Total hours

0

Headers, Subtotals, and Separators

Use structural keywords to organize rows into logical groups with intermediate sums:

  • - HEADER: label — creates a header row (excluded from totals, supports Markdown)
  • - SEPARATOR — adds an empty row for visual spacing
  • - SUBTOTAL: label — displays an intermediate sum of rows since the previous subtotal or header
  • - SUBTRACT — subtracts this row's value from the total instead of adding
Q: Profit & loss statement
- HEADER: **Revenue**
- Product sales
  - VARIABLE: product_sales
- Service revenue
  - VARIABLE: service_revenue
- SUBTOTAL: **Total revenue**
  - VARIABLE: total_revenue
- SEPARATOR
- HEADER: **Expenses**
- Cost of goods sold
  - VARIABLE: cogs
  - SUBTRACT
- Operating expenses
  - VARIABLE: opex
  - SUBTRACT
- SUBTOTAL: **Total expenses**
  - VARIABLE: total_expenses
- SEPARATOR
PREFIX: €
TOTAL: **Profit**
BREAKDOWN

Profit & loss statement

Revenue

Product sales

Service revenue

Total revenue

€0

Expenses

Cost of goods sold

Operating expenses

Total expenses

€0

Profit

0

Prefix and Suffix

Add units or currency symbols to input fields:

  • PREFIX: text / SUFFIX: text — adds units to all input fields
  • - PREFIX: text / - SUFFIX: text — overrides the question-level units for a specific row
Q: Annual budget
PREFIX: €
SUFFIX: .00
- Salaries
- Marketing
- Operations
TOTAL: **Total budget**
BREAKDOWN

Row Variables

Assign variables to individual rows to reference their values elsewhere:

  • - VARIABLE: name — stores an individual row's value in a named variable
  • VARIABLE: name (question-level) — stores the question total
Q: Monthly expenses
- Rent
  - VARIABLE: rent
- Food
  - VARIABLE: food
- Transport
  - VARIABLE: transport
VARIABLE: total_expenses
BREAKDOWN

Advanced Keywords

  • - VALUE: expression — makes a row read-only with a calculated value
  • - CUSTOM: {expression} — replaces a subtotal's auto-sum with a custom calculation using variable placeholders
  • - COLUMN: N — assigns the option to column N for multi-column layouts
  • - EXCLUDE — displays the row but excludes it from total calculations