Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Nigel99
Frequent Visitor

PERCENTILE.INC & PERCENTILE.EXC does not yield the desired value

NameMarks
A10
A20
A30
A40
A50
A60

 

PERCENTILE.INC(Table[Marks],0.25) =22.5
PERCENTILE.EXC(Table[Marks],0.25) =17.5

 

I would like to determine Q1 from dataset. Q1 should be 20.
Why do the results produced by DAX above not equivalent to 20?

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

Even in MS Excel, the answer is 22.5.  So that answer seems correct.

Ashish_Mathur_0-1709001837975.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Excel and Power BI share same function. Needless to say, both yield the same output.

 

If we were going to determine Q1 using conventional method, we will be sorting the group of data in ascending order (in this case, 10,20,30,40,50,60).

 

Q1 is deemed the half of half of dataset. Therefore, the first half is "10,20,30.". Subsequently, we further dive into second half between 10 and 30, yielding 20 as Q1 value.

Anonymous
Not applicable

Hi @Nigel99,

I'd like to suggest you take a look at the following link about PERCENTILE functions if it help you to understand these functions and usages:

Regards,

XIaoxin Sheng

Unfortunately, the video does not seem to explain the function in details. 

Excel and Power BI share same function. Needless to say, both yield the same output.

 

If we were going to determine Q1 using conventional method, we will be sorting the group of data in ascending order (in this case, 10,20,30,40,50,60).

 

Q1 is deemed the half of half of dataset. Therefore, the first half is "10,20,30.". Subsequently, we further dive into second half between 10 and 30, yielding 20 as Q1 value. This baffles me as both outputs are contradicting to each other. 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.