`PERCENTILE_CONT`
Data 360 Query Guide, mirrored from developer.salesforce.com: **Applies to:** ✅ Data 360 SQL ✅ Tableau Hyper API
markdownreferencev1JXJ2-2KPMguide: data-cloud-query-guidestage: referencetrust: officialsource: developer.salesforce.comservice: data360interface: sql`PERCENTILE_CONT`Data 360Data CloudData 360 Query Guide
Mirror of <https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/percentile-cont.html> (Salesforce, Data 360 Query Guide), read 2026-10-23. Salesforce's own page is the authority; this copy exists because that site refuses non-browser readers.
PERCENTILE_CONT
Applies to: ✅ Data 360 SQL ✅ Tableau Hyper API
Computes a continuous percentile, interpolating between adjacent input values if needed.
<fraction>: Adouble precisionvalue between 0 and 1 specifying the percentile to compute.<sort_expression>: An expression ofdouble precisionorintervaltype.
Returns the same type as the sort expression. Returns NULL if the fraction is NULL.
- This is an ordered-set aggregate function.
- NULL values in the sorted input are ignored.
- Interpolates between adjacent values when the exact percentile falls between two data points.
- Use
PERCENTILE_DISCfor discrete percentiles without interpolation.
Find the median (50th percentile).
Find the 25th and 75th percentiles.
Calculate percentiles for each group.