data.fields
The dataset schema. One entry per source column.
Quick reference
| Key | Type | Meaning |
|---|---|---|
fieldName | string | Original column name in dataSource. |
uniqueName | string (required) | Identifier referenced by dimensions/measures/filters. |
dataType | number | string | date | time | month | Column type. |
caption | string | Display label. |
showInDrillThrough | boolean | Include the field in the drill-through table. |
drillThroughOrder | number | Field position (also the drill-through column order). |
dateFormat | string | null | Date format token (date fields only). |