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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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