Skip to main content

data.fields

The dataset schema. One entry per source column.

Quick reference

KeyTypeMeaning
fieldNamestringOriginal column name in dataSource.
uniqueNamestring (required)Identifier referenced by dimensions/measures/filters.
dataTypenumber | string | date | time | monthColumn type.
captionstringDisplay label.
showInDrillThroughbooleanInclude the field in the drill-through table.
drillThroughOrdernumberField position (also the drill-through column order).
dateFormatstring | nullDate format token (date fields only).

See also