# HIST_NEW_VALUE() Function

### Description

Returns the new value from history tracking (Rippling-specific).

### Syntax

```sql
HIST_NEW_VALUE(field)
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _field_ | Tracked field whose new value you want from change history | Any | Yes |

#### Notes

-   Returns the value a tracked field changed **to** for the relevant history event.

### Example

```sql
SELECT
    HIST_NEW_VALUE(tracked_field)
FROM
    rippling.employee.Employee
LIMIT
    5;
```

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/hist_new_value

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
