DAX Percentile (P90, P95) Measure

Calculates the 90th and 95th percentile of a numeric column, common thresholds for SLA and outlier analysis.

StatisticsIntermediatepercentilestatistics

DAX code

P90 Order Value =
PERCENTILE.INC('Sales'[Amount], 0.9)

P95 Order Value =
PERCENTILE.INC('Sales'[Amount], 0.95)

Notes

PERCENTILE.INC includes the endpoints; use PERCENTILE.EXC if your analysis requires excluding them.

Requirements

How to use this measure

  1. In Power BI Desktop, select the table that should hold the measure and choose New measure on the ribbon.
  2. Paste the code, then replace the placeholder table and column names with your own. The My table names fields above do this for you.
  3. Run it through the DAX Formatter if you want it laid out in your team's style.

Related DAX measures

More DAX resources

Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Percentile (P90, P95).