Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Percentiles divide your data into 100 equal parts. For example:
But how do we calculate these in Power BI? 🤔
That’s where PERCENTILE.INC and PERCENTILE.EXC come in.
Imagine numbers from 1 to 100. Dividing them into four equal parts gives:
Now, the Interquartile Range (IQR) measures the middle 50% of your data.
🧮 Formula:
IQR = Q3 − Q1
📌 Example:
Values that are more than 1.5 × IQR above Q3 or below Q1 are considered outliers.
PERCENTILE.EXC means Exclusive of range endpoints.
It excludes 0 and 1 in its calculation, so:
0 < k < 1
✅ Syntax: PERCENTILE.EXC(<column>, <k>)
🔸 Example: = PERCENTILE.EXC(Sales[Sales Amount], 0.25)
This returns the 25th percentile excluding the boundaries of your dataset.
⚠️ Key Points about PERCENTILE.EXC:
PERCENTILE.INC means Inclusive of range endpoints.
It includes 0 and 1, so: 0 ≤ k ≤ 1
✅ Syntax: PERCENTILE.INC(<column>, <k>)
🔸 Example: = PERCENTILE.INC(Sales[Sales Amount], 0.25)
This returns the 25th percentile including the full data range.
Let’s say you want to calculate:
Sample DAX Measures:
Q1 = PERCENTILE.INC(Sales[Sales Amount], 0.25)
Q3 = PERCENTILE.INC(Sales[Sales Amount], 0.75)
IQR = [Q3] - [Q1]
Or for PERCENTILE.EXC:
Q1_Exc = PERCENTILE.EXC(Sales[Sales Amount], 0.25)
Q3_Exc = PERCENTILE.EXC(Sales[Sales Amount], 0.75)
IQR_Exc = [Q3_Exc] - [Q1_Exc]
Visualize this using a box plot to spot trends and outliers quickly!
Understanding PERCENTILE.INC and PERCENTILE.EXC allows you to:
Both functions are powerful, and choosing the right one depends on your data scenario.
Regards
Anmol Malviya
Sr. Data Analyst | Addend Analytics
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.