---
schema_version: "1"
id: 94307fce9a488fc7d462c4c5c8306a7665097a95f1252c11ffbfc0761b454353
title: percentile_cont
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-pct-cont.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-sql/guide/bi-sql-aggregate-pct-cont.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: ada68e370f61140f463407427d1c86981d11e19b3b1034a43b13733adfdac8aa
products:
  - SQL for Analytics Developer Guide
  - analytics
---

# percentile_cont

Calculates a percentile based on a continuous distribution of the column value.

`percentile_disc()` follows this syntax.

```nolang
SELECT percentile_cont(PERCENTAGE) WITHIN GROUP (ORDER BYFIELD1)
FROM DATASET;
```
