> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AI in tables

> Filter a workspace table by asking a question in its search box, add an AI column that works something out for each row, and summarise the rows in view.

Workspace tables, such as quotes, customers, products and margin leak findings, have three AI features built in. You can ask a question in the search box and have it turned into a filter, add a column that the assistant fills for each row, and get a short summary of the rows in view. This page explains each one and its limits.

## Who can use it

Anyone who can open a table can use its AI features. They run with your role and data scope, so they only see the rows and figures you see. They are unavailable when AI is turned off for the workspace; see [Limits and availability](/docs/assistant/limits.md).

## Filter by asking a question

**1. Type a question**

Type in the table's search box, for example "customers with margin under 15% this quarter". When the text reads as a question rather than a search term, the box shows **Ask AI ↵**.

**2. Ask**

Press Enter. The assistant turns the question into the table's own filters, sort and grouping, and shows the result as filter text so you can see exactly what it applied.

**3. Adjust or clear**

The question stays as a chip above the table. Edit the filters like any others, or select **Clear AI filter** on the chip to remove it.

Because the question becomes ordinary filters, the rows come from the same server-side query as any other view. You can save the view or export it.

If the question cannot be turned into a filter, the search box shows the reason. If the assistant cannot be reached, it shows "The assistant is unavailable. Try again later."

## Add an AI column

**1. Open the AI menu**

Select **AI** in the table toolbar to open **AI columns and summaries**.

**2. Describe the column**

Under **What should it work out per row?**, describe what you want, or pick a suggestion. On **Margin leaks**, for example, the suggestions are "Biggest monthly loss in 6 words" and "Fix: raise, hold or review?".

**3. Create it**

Submit the prompt. A new column is added and filled row by row; the toolbar shows **Filling column** while it works.

An AI column is filled for up to 2,000 rows of the view. If the column cannot be filled, the table shows "Couldn’t fill the column. Try again."

## Summarise a view

In **AI columns and summaries**, select **Summarize this view** to get three observations from the rows in view. To summarise only some rows, select them and choose **Summarize** in the selection bar, or press `S`. If the summary fails, the table shows "Couldn’t summarize. Try again."


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.