---
schema_version: "1"
id: 6e5f3cc904179d327cd69d91920404b519008bc29bda4913d30f1d76e7252108
title: Column | Tableau Embedding API
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/embedding_api/reference/interfaces/Column.md
canonical_url: https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/Column.html
source_site: help.tableau.com
content_type: documentation
content_hash: 38ae425d2b7044dc28e032c53c964a7b336124026df49775074eba9f1d07cfe8
description: Documentation for Tableau Embedding API
---
- Column

# Interface Column

interface Column {  
    [dataType](#datatype): [DataType](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/enums/DataType.html);  
    [fieldId](#fieldid): string;  
    [fieldName](#fieldname): string;  
    [index](#index): number;  
    [isReferenced](#isreferenced): boolean;  
}

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/DataTableInterfaces.ts:4

##### Index

### Properties

[dataType](#datatype) [fieldId](#fieldid) [fieldName](#fieldname) [index](#index) [isReferenced](#isreferenced)

## Properties

### `Readonly`dataType[](#datatype)

dataType: [DataType](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/enums/DataType.html)

#### Returns[](#returns)

The data type of the column. Possible values are float, integer, string, boolean, date, datetime and spatial

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/DataTableInterfaces.ts:26

### `Readonly`fieldId[](#fieldid)

fieldId: string

#### Returns[](#returns-1)

The fieldId of the field in the column. In summary data, this includes the aggregation. The fieldId is not stable across replacing data sources. For example after replacing the data source \[Clipboard\_20210305T164000\].\[sum:Sales:qk\] could become \[federated.12usuoq1171o1b1ebdyh60fjnev1\].\[sum:Sales:qk\].

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/DataTableInterfaces.ts:20

### `Readonly`fieldName[](#fieldname)

fieldName: string

#### Returns[](#returns-2)

The name of the field in the column. In summary data, this includes the aggregation. The summary data field name is not stable across languages. For example, in an English version of Tableau, the field name might be SUM(Sales). In French, this would be SOMME(Sales).

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/DataTableInterfaces.ts:10

### `Readonly`index[](#index)

index: number

#### Returns[](#returns-3)

The number of rows in the returned data.

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/DataTableInterfaces.ts:36

### `Readonly`isReferenced[](#isreferenced)

isReferenced: boolean

#### Returns[](#returns-4)

Whether the column data is referenced in the visualization.

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/DataTableInterfaces.ts:31

### Settings

Member Visibility

- Protected
- Inherited
- External

ThemeOSLightDark

### On This Page

Properties

[dataType](#datatype)[fieldId](#fieldid)[fieldName](#fieldname)[index](#index)[isReferenced](#isreferenced)