---
schema_version: "1"
id: fc84fff40aebb0d000bfe662e64ce21f2dd03e62f464587573d59676283cadc8
title: regr_intercept()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi_dev_guide_sql/guides/bi-sql-aggregate-regr-intercept.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-sql/guide/bi-sql-aggregate-regr-intercept.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3096257f025421a1063f08cba81e0ccc6a55c96faf63462df6850e6b2160bb97
products:
  - SQL for Analytics Developer Guide
  - analytics
---

# regr_intercept()

Returns the y-intercept value of a regression line.

`regr_intercept()` follows this syntax.

```nolang
SELECT regr_intercept(FIELD1, FIELD2)
FROM DATASET;
```
