Function: a!measure()
Determines the calculations for fields on a chart.
See also: Chart Configuration Using Records, Column Chart Config, Bar Chart Config, Line Chart Config, Pie Chart Config, Grouping Component
Name | Keyword | Type | Description |
---|---|---|---|
Field | field | Any Type | Reference to the record field to use in this calculation, configured using the recordType! domain. For example, recordType!Case.fields.status. |
Function | function | Text | Function to use with calculations on the field provided. Accepts "COUNT", "SUM", "MIN", "MAX", "AVG". |
Alias | alias | Text | The short name by which the result of the measure field can be referenced in other places of the chart configuration. Values are case-sensitive. |
Label | label | Text | Text to display in the legend or tooltip when using the measure in a chart. If no label is defined, the label displays with the function name and field name. The label only displays if a single grouping is used on a bar, column, or line chart. |
Measure
measure
parameter in a bar, column, line, or pie chart.a!barChartConfig()
, a!columnChartConfig()
, a!lineChartConfig()
, or a!pieChartConfig()
.field
and function
parameters are required to display data on the chart. The field also must reference a field used in the source record type.Count of id
. The label does not apply when used with a secondary grouping, as the label is then determined by the secondary grouping field value. Also, the label does not apply when using a measure in a pie chart.On This Page