Components of columns and measures
Last updated
Was this helpful?
Last updated
Was this helpful?
Each column and measure has a set of components that are configured as you add them. When adding an advanced column or measure, you may need to configure these components manually. Here's a reference to understand what the components mean:
component
required by
description
kind
all
The ingredient type, either Dimension
(for columns) or Measure
(for column measures).
field
all
The instructions for what will display in the app. These instructions can be simple (e.g., a reference to a single field) or more .
id_field
Optional for columns
Specify a custom unique identifier for columns. Especially useful for selections and filtering in unique cases.
singular
all
The label displayed for measures or when a single column value is selected.
plural
all columns
The label displayed when more than one column value is selected.
format
measures and time columns
The to be displayed.
icon
all
The to display with your ingredient. By default, columns have check-square
, time columns have calendar
, place columns have map-marker-alt
, and measures have hashtag
.
latitude_field
place columns
Used in place columns to set the latitude field.
longitude_field
place columns
Used in place columns to set the longitude field.
lookup
none
See section.
buckets
none
See section.
buckets_default_label
none
See section.
reverse
measures
By default, higher numbers are deemed better. To flip this, add reverse: true
to the measure definition.