> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# Last

Returns the last row value in a column.

## Usage

```
Last([Column])
```

Function Arguments:

* **field** (required) A column of text, numbers, or dates to analyze.

When there is no sort specified to the table, the results for this function can change when refreshing the workbook, as the sort will be different upon refresh.

## Example

```
Last([Quarter])
```

Returns the last result in the `[Quarter]` column in every row of the `[Last]` column.

![](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/4f1e90f2fe5ee4c4174a3651dff359377be33c888bf873dbe385ad2f5c211f5f/assets/docs-images/49727fc-mmmmm.png)

## Related resources

* [Nth](/docs/nth)
* [First](/docs/first)