> For the complete documentation index, see [llms.txt](https://docs.guardianservice.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/schemas/available-schema-types/table-data-input-field.md).

# Table Data Input Field

A Table field lets you add CSV-based tables to documents:

* Import a CSV file
* Edit or fill it by manually
* Use table data in calculations with other fields
* View and download results in both Guardian and Indexer.

## 1. Add this field to a policy schema <a href="#id-1.-add-this-field-to-a-policy-schema" id="id-1.-add-this-field-to-a-policy-schema"></a>

Add a Table-type field to a schema so users can work with it in forms.

Setup:

* Choose Field type: Table.
* Multiple table fields can be added in one document.
* All table fields can participate in calculations (cross-table formulas, sums, links with other fields, etc.).

<figure><img src="/files/Z9rEo9q5wT1rP24jqQEo" alt=""><figcaption></figcaption></figure>

## 2. Use the field while filling the form <a href="#id-2.-use-the-field-while-filling-the-form" id="id-2.-use-the-field-while-filling-the-form"></a>

When added to a schema, the table is shown to a user during data entry.

Available options:

* Import CSV: load a file and preview the first rows/columns.
* Export/Download CSV: download the current state of the table.
* Edit: open the table in a dialog and update cells.
* Create manually: start with an empty table and fill it by hand.

<figure><img src="/files/F4Iw9zS7gAVQzIfndq3N" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/5ngupygh9QMqRrhMzjOK" alt=""><figcaption></figcaption></figure>

## 3. Run calculations (inside a table and with other fields) <a href="#id-3.-run-calculations-inside-a-table-and-with-other-fields" id="id-3.-run-calculations-inside-a-table-and-with-other-fields"></a>

Use table data in document formulas and logic.

Options:

* Inside a table – row/column calculations (e.g., sums, averages, etc.).
* With other form fields – via:
* AutoCalculate field (automatic calculation)
* Custom Logic Block (custom rules/logic)

<figure><img src="/files/DioNmP0fZt650aVZ0JKa" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/MIy3a6f3IiYWXjpUnw7y" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/fwYPZLSm9ATEAFTKrRKf" alt=""><figcaption></figcaption></figure>

## 4. Save a prefilled table as a Draft <a href="#id-4.-save-a-prefilled-table-as-a-draft" id="id-4.-save-a-prefilled-table-as-a-draft"></a>

Save an unfinished form with imported/entered table data and return to it later.

<figure><img src="/files/8m7x6Tn5UKoHNNIfhBIb" alt=""><figcaption></figcaption></figure>

## 5. View and download results in document view <a href="#id-5.-view-and-download-results-in-document-view" id="id-5.-view-and-download-results-in-document-view"></a>

What it does:

* In Guardian, VC document view shows tables and calculated values.
* In Indexer, the same table is available for viewing and downloading.

<figure><img src="/files/367QDzv8ErB4hiVvrVJ1" alt=""><figcaption></figcaption></figure>

## 6. Limits and performance <a href="#id-6.-limits-and-performance" id="id-6.-limits-and-performance"></a>

* If the table size exceeds 10 MB, manual editing in the UI is not available.
* To edit:, download the CSV, update it externally,then re-import.
* Calculations still work above 10 MB, but:
* Performance may be slower
* Preview is limited to the first rows/columns

<figure><img src="/files/KLRfj1IY4nDlcuhwvXPO" alt=""><figcaption></figcaption></figure>
