Counter
Configuration reference: Contador
Overview
The Counter component displays a dynamic fraction or percentage calculated from records in another feature. It acts as a live KPI — showing, for example, how many orders are completed out of total orders for a specific client.
Unlike a formula, the counter aggregates data from a related feature's records using configurable conditions.
Configuration
| Setting | Description |
|---|---|
| Source feature | The feature containing the data to count |
| Group by column | Column in the source feature to aggregate by |
| Current feature column | Column in the current feature that links to the group by column |
| Numerator conditions | Filter conditions for the top number (e.g., status = "complete") |
| Denominator conditions | Filter conditions for the total count (e.g., all records, or status != "cancelled") |
Display options
| Setting | Options |
|---|---|
| Value type | Fraction — "3/10", Percentage — "30%" |
| Visual mode | Value only — text display, Progress bar — visual bar |
Example
A "Client" record with a counter configured as:
- Source feature: Orders
- Group by: client_id
- Numerator: status = "delivered"
- Denominator: all orders
Displays: "15/23" (15 delivered out of 23 total orders for this client), or as a 65% progress bar.
Drill-down
Clicking the counter opens the records that went into the comparison in a dialog - a table view over the source feature, filtered by the current row's group.
| Setting | Description |
|---|---|
| Open records on click | Turns the drill-down on or off. Enabled by default. |
| Drill-down records | Which rows appear in the list, with the drill-down on: Whole group (default) - every row in the source feature that matches the group, without applying the counter's period or conditions; Only the compared records - exactly the set used in the calculation, with the period and the denominator conditions already applied. |
With "Whole group" and a period configured, the dialog shows more rows than what went into the calculation - a note at the top explains that the period filter doesn't apply to that list. With "Only the compared records" the list matches the denominator set exactly, with no note.