Skip to main content

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​

SettingDescription
Source featureThe feature containing the data to count
Group by columnColumn in the source feature to aggregate by
Current feature columnColumn in the current feature that links to the group by column
Numerator conditionsFilter conditions for the top number (e.g., status = "complete")
Denominator conditionsFilter conditions for the total count (e.g., all records, or status != "cancelled")

Display options​

SettingOptions
Value typeFraction — "3/10", Percentage — "30%"
Visual modeValue 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.

SettingDescription
Open records on clickTurns the drill-down on or off. Enabled by default.
Drill-down recordsWhich 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.