Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Field

A field contains information about what data source it belongs to, its role, and the ability to fetch the domain values.

Hierarchy

  • Field

Index

Properties

aggregation

returns

The type of aggregation for this field.

columnType

columnType: ColumnType
notimplemented
returns

The type of the column, either discrete or continuous.

dataSource

dataSource: DataSource
returns

The data source to which this field belongs.

description

description: string | undefined
returns

User description of field, undefined if there is none.

id

id: string
returns

String that represents this field uniquely within this datasource. It is in the format 'a:generated-id:b[:c]', where 'generated-id' is based on the first name given to the Field and a/b/c are type information. To match a Field to a Column, use [this.DataSource.id][this.id] == Column.id

isCalculatedField

isCalculatedField: boolean
returns

True if this field is a table calculation.

isCombinedField

isCombinedField: boolean
returns

True if this field is a combination of multiple fields, false otherwise.

isGenerated

isGenerated: boolean
returns

True if this field is generated by Tableau, false otherwise. Tableau generates a number of fields for a data source, such as Number of Records, or Measure Values. This property can be used to distinguish between those fields and fields that come from the underlying data connection, or were created by a user.

isHidden

isHidden: boolean
returns

True if this field is hidden, false otherwise.

name

name: string
returns

The name of the field (i.e. the caption).

role

returns

The role of this field.