Skip to main content

Number

Number is a single large number: a record count, sum, average, minimum, or maximum. For example, how many deliveries are expected this week ("Deliveries") or the total amount spent on goods ("Purchase cost").

In the widget catalog it's in the Digits group. To learn how to add a widget to a screen and select data for it, see Custom screen.

The video shows the "Received, pcs" number: a Total of the Received, pcs field.

What to display​

SettingWhat to chooseRequired
Valuewhat to calculate — see table belowyes
By which fieldthe numeric field to calculate on, e.g. "Purchase cost". Appears for everything except Number of recordsyes, except for Number of records
Value optionWhat the widget shows
Number of recordshow many records made it onto the screen
Totalthe sum of the field's values
Averagethe average of the field's values
Minimumthe smallest value of the field
Maximumthe largest value of the field

For example, the "Deliveries" widget is Number of records for entries in the Supplies set, while "Purchase cost" is a Total of the "Purchase cost" field.

By which field only offers numeric fields and monetary amounts, such as an order total. If a field exists in more than one set, you select it in two steps, as with other widgets: first the set, then the field.

How the calculation works​

The number is calculated across all records that fall within the selected period and match the page filters, not just those loaded into tables on the screen. Change the week in Period or pick a supplier in a filter, and the number recalculates. For more on the period and filters, see Period and page filters.

If there are no records:

  • Number of records shows 0;
  • the other options show "—": "no records" and "records totaling zero" are different things.

Monetary amounts​

If the field is a monetary amount, the currency is displayed next to the number. Records in different currencies cannot be summed: instead of a number, the widget shows "Can't add up: different currencies (…)" and lists the currencies.